Auto create undodir [Close #103]
This commit is contained in:
parent
8bca30bff3
commit
fc3f4f337a
1
vimrc
1
vimrc
@ -51,6 +51,7 @@ set nowb
|
|||||||
" Keep undo history across sessions, by storing in file.
|
" Keep undo history across sessions, by storing in file.
|
||||||
" Only works all the time.
|
" Only works all the time.
|
||||||
|
|
||||||
|
silent !mkdir ~/.vim/backups > /dev/null 2>&1
|
||||||
set undodir=~/.vim/backups
|
set undodir=~/.vim/backups
|
||||||
set undofile
|
set undofile
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user