added persistent undo/redo to vim
This commit is contained in:
parent
8148a0b0ec
commit
8f11aaaa8e
3 changed files with 6 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
||||||
|
.vim/undo/
|
||||||
.vim/.netrwhist
|
.vim/.netrwhist
|
||||||
|
|
||||||
|
|
0
.vim/undo/.keep
Normal file
0
.vim/undo/.keep
Normal file
6
.vimrc
6
.vimrc
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue