Persistent undo history for Vim
" Tell Vim to use an undo file
set undofile
" set a directory to store the undo history
set undodir=~/.vimundo/
" Tell Vim to use an undo file
set undofile
" set a directory to store the undo history
set undodir=~/.vimundo/