Persistent undo
This commit is contained in:
parent
c1a5c4def4
commit
d6f92f6280
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue