: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
Windows, Linux, Mac OS X, Java and Ruby Tips and Tricks
:set list
set expandtab
set tabstop=3
set softtabstop=3
set shiftwidth=3
No comments:
Post a Comment