Comandos uteis no .vimrc

Você pode achar vários comandos úteis dando uma olhada nesses arquivos de .vimrc.

No meu .vimrc só coloquei o que estou usando até agora:

 1 "Cute ;D
 2 syntax on
 3 set encoding=utf8
 4 set number
 5 set tabstop=2
 6 set eb
 7 set expandtab
 8 set hlsearch
 9 set ignorecase
10 set incsearch
11 set showcmd
12 set showmatch
13 set textwidth=80
14 set cursorline
15 filetype indent on
16 
17 " Smart way to move between windows
18 map <C-j> <C-W>j
19 map <C-k> <C-W>k
20 map <C-h> <C-W>h
21 map <C-l> <C-W>l
22 
23 " space open/closes folds
24 nnoremap <space> za
25 
26 "Theme
27 colorscheme monokai