[nvim] Keep undo history when closing nvim

This is great
This commit is contained in:
M1dgard 2018-11-04 00:19:46 +01:00
parent f601abf860
commit a85118f40e
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -170,6 +170,11 @@ augroup spellcheck_textfiles
au! BufNewFile,BufRead *.md,*.txt,*.tex setlocal spell
augroup END
" Keep undo history {{{2
" ======================
set undodir=/tmp/vim-undodir
set undofile
" Plug-ins {{{1
" =============