Tuesday, February 6, 2007

Setting up Gvim

~/.vimrc

Enable highlight for source codes:
syntax enable

Set the number of spaces for a TAB:
set tabstop=4

Display line numbers:
set nu

Auto indent:
set autoindent

Print with line numbers:
set printoptions=number:y

Now, my .vimrc:
syntax enable
set tabstop=4
set autoindent
set nu

No comments: