Persistent undo

This commit is contained in:
Sonny 2018-03-05 23:29:29 +01:00
parent c1a5c4def4
commit d6f92f6280

View file

@ -99,3 +99,10 @@ if exists('+termguicolors')
set termguicolors
colorscheme simplify-dark
endif
" persistent undo history
if !isdirectory("/tmp/vim-undo")
call mkdir("/tmp/vim-undo", "", 0700)
endif
set undodir=/tmp/vim-undo
set undofile