mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Add Tabs To Spaces as a vim til.
This commit is contained in:
12
vim/tabs-to-spaces.md
Normal file
12
vim/tabs-to-spaces.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# Tabs To Spaces
|
||||
|
||||
If you prefer spaces over tabs in your files, then opening up a file full of
|
||||
tabbed indentation is not ideal. You can quickly convert all tabs in the
|
||||
current buffer to spaces using:
|
||||
|
||||
```
|
||||
:retab
|
||||
```
|
||||
|
||||
This assumes that you have `expandtab` set. See `:help :retab` for more
|
||||
details.
|
||||
Reference in New Issue
Block a user