in the .vimrc file in your home directory (make it if it doesn't exist):
John Nowak
at 10:43 PM on Tuesday June 13th, 2006
|
set tabstop=4
John Nowak
at 10:43 PM on Tuesday June 13th, 2006
|
set shiftwidth=4
John Nowak
at 10:43 PM on Tuesday June 13th, 2006
|
set smarttab
John Nowak
at 10:43 PM on Tuesday June 13th, 2006
|
set autoindent
John Nowak
at 10:43 PM on Tuesday June 13th, 2006
|
set smartindent
John Nowak
at 10:44 PM on Tuesday June 13th, 2006
|
you can change the number 4 to whatever you wish... i use 3 personally
John Nowak
at 10:44 PM on Tuesday June 13th, 2006
|
some people like to do :set softtabstop 4 as well
John Nowak
at 10:45 PM on Tuesday June 13th, 2006
|
in vim, press escape and type :help softtabstop <enter> for more info
John Nowak
at 10:45 PM on Tuesday June 13th, 2006
|