Contents |
[edit]
VIM Tutorial
[edit]
Configuring VIM
[edit]
Sample .vimrc for Windows
set number
set backspace=indent,eol,start
syntax on
if has("gui_running")
if has("gui_gtk2")
set guifont=Courier\ New\ 10
elseif has("x11")
set guifont=-*-courier-medium-r-normal-*-*-180-*-*-m-*-*
else
set guifont=Courier_New:h10:cDEFAULT
endif
endif
[edit]
Taking out leading whitespace
:%s/^ *//g
[edit]
Set the width of tabs
:set tabstop=4