/ Published in: Other
This will force all tabs in the current buffer to be converted to spaces.
Expand |
Embed | Plain Text
:set expandtab :%retab!
Comments
Subscribe to comments
You need to login to post a comment.
hoffstein on 10/23/08
2 people have marked this snippet as a favorite
This will force all tabs in the current buffer to be converted to spaces.
:set expandtab :%retab!
Subscribe to comments
You need to login to post a comment.
There's some other ways to do it in vim too: (http://mlawire.blogspot.com/2009/07/convert-tabs-to-spaces.html)