diff --git a/nvim-init.vim b/nvim-init.vim index 64c548b..fca267b 100644 --- a/nvim-init.vim +++ b/nvim-init.vim @@ -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 " =============