Parcourir la Source

~/.vimrc: Enable persistent undo.

From tpope's [vim-sensible](https://github.com/tpope/vim-sensible).
Lucas Stadler 13 ans auparavant
Parent
commit
6ccdd1e27d
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      .vimrc

+ 2 - 0
.vimrc

35
35
36
" Oh YEAY, finally. Store them (swaps) all in *one* directory.
36
" Oh YEAY, finally. Store them (swaps) all in *one* directory.
37
set directory=~/.vim/tmp/
37
set directory=~/.vim/tmp/
38
set undodir=~/.vim/tmp/
39
set undofile
38
40
39
" Wrap lines in textfiles automatically.
41
" Wrap lines in textfiles automatically.
40
" (Any way to enable in comments?)
42
" (Any way to enable in comments?)