mdk.fr/content/blog/emacs-replace-tabs-with-spa...

7 lines
320 B
Markdown
Raw Normal View History

2017-04-04 21:11:23 +00:00
Title: Emacs: replace tabs with spaces
When you want to replace tab with spaces or vice versa don't use `M-%`
*(query-replace)* but `M-x tabify` or `M-x untabify`. They work on the
current selection so if you want it to be applied to a whole buffer,
try `C-x h` *(mark-whole-buffer)* before to select the whole buffer.