added persistent undo/redo to vim

This commit is contained in:
Cyryl Plotnicki-Chudyk 2015-03-16 07:00:25 +01:00
parent 8148a0b0ec
commit 8f11aaaa8e
3 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
.vim/undo/
.vim/.netrwhist .vim/.netrwhist

0
.vim/undo/.keep Normal file
View file

6
.vimrc
View file

@ -1,5 +1,9 @@
" file settings " global settings
set nocompatible
set noswapfile set noswapfile
set undofile
set undodir=$HOME/.vim/undo
" file settings
set encoding=utf-8 set encoding=utf-8
" key mappings " key mappings