1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-02 22:58:01 +00:00

Add Tabs To Spaces as a vim til.

This commit is contained in:
jbranchaud
2015-04-03 19:10:40 -05:00
parent 4f80560f3a
commit 443030c910
2 changed files with 13 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
- [Rename Current File](vim/rename-current-file.md)
- [Repeat The Previous Change](vim/repeat-the-previous-change.md)
- [Split Different](vim/split-different.md)
- [Tabs To Spaces](vim/tabs-to-spaces.md)
- [View Commit History of a File](vim/view-commit-history-of-a-file.md)
- [Wrap With Some Room](vim/wrap-with-some-room.md)

12
vim/tabs-to-spaces.md Normal file
View 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.