Ver Código Fonte

~/.vimrc: Display line numbers (+numberline) and more history.

Lucas Stadler 14 anos atrás
pai
commit
7cf3e3b5b5
1 arquivos alterados com 3 adições e 1 exclusões
  1. 3 1
      .vimrc

+ 3 - 1
.vimrc

15
set shiftwidth=3
15
set shiftwidth=3
16
set smarttab
16
set smarttab
17
17
18
set number " With numbertoggle they're quite cool (I think)
19
18
" Copy indent of the last line.
20
" Copy indent of the last line.
19
set copyindent
21
set copyindent
20
22
23
"au BufNewFile,BufRead *.{c,h} set listchars=tab:\ \ ,trail:·
25
"au BufNewFile,BufRead *.{c,h} set listchars=tab:\ \ ,trail:·
24
26
25
" Keep a longer history
27
" Keep a longer history
26
set history=100
28
set history=1000
27
29
28
" Oh YEAY, finally. Store them (swaps) all in *one* directory.
30
" Oh YEAY, finally. Store them (swaps) all in *one* directory.
29
set directory=~/.vim/tmp/
31
set directory=~/.vim/tmp/