/ 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.

There's some other ways to do it in vim too: (http://mlawire.blogspot.com/2009/07/convert-tabs-to-spaces.html)