[nvim] Keep undo history when closing nvim
This is great
This commit is contained in:
parent
f601abf860
commit
a85118f40e
1 changed files with 5 additions and 0 deletions
|
@ -170,6 +170,11 @@ augroup spellcheck_textfiles
|
||||||
au! BufNewFile,BufRead *.md,*.txt,*.tex setlocal spell
|
au! BufNewFile,BufRead *.md,*.txt,*.tex setlocal spell
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
" Keep undo history {{{2
|
||||||
|
" ======================
|
||||||
|
set undodir=/tmp/vim-undodir
|
||||||
|
set undofile
|
||||||
|
|
||||||
|
|
||||||
" Plug-ins {{{1
|
" Plug-ins {{{1
|
||||||
" =============
|
" =============
|
||||||
|
|
Loading…
Reference in a new issue