Prosty i działający vimrc:
language messages C
syntax on
set showmatch
set number
set showcmd
set ruler
set confirm
set expandtab
set shiftwidth=2
set softtabstop=2
set autoindent
map :write %
map :set t_Co=0
map :tabp
map :tabn
map :%s///g
au BufEnter,BufRead *sh setlocal smartindent cinwords=case,do,if,elif,else,for,function,select,then,until,while
au BufEnter,BufRead *py setlocal smartindent cinwords=class,def,if,elif,else,except,for,try,while
autocmd FileType python set tabstop=2|set shiftwidth=2
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
map :NERDTreeToggle
oraz gvimrc:
set laststatus=2
set t_Co=256
language messages C
syntax on
set showmatch
set number
set showcmd
set ruler
set confirm
set expandtab
set shiftwidth=2
set softtabstop=2
set nowrap
set autoindent
map "+x
map "+y
map "+gP
map :%s///g
au BufEnter,BufRead *sh setlocal smartindent cinwords=case,do,if,elif,else,for,function,select,then,until,while
au BufEnter,BufRead *py setlocal smartindent cinwords=class,def,if,elif,else,except,for,try,while
set guifont=Lucida_Console:h14:cEASTEUROPE:qDRAFT
colorscheme desert
nnoremap ma`a
if has("autocmd")
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
endif
set guicursor+=a:blinkon0