Twitter Updates

Thursday 11 March 2010

VIM and whitespace

To view white space characters (except spaces)
:set list

To stop tab insertion and uses spaces
set expandtab

To set all types of tabs to 3 spaces
set tabstop=3
set softtabstop=3
set shiftwidth=3

Further Info vimcasts.org 2

No comments: