diff --git a/vim/vimrc b/vim/vimrc index 1f7da6f..32797fb 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -44,7 +44,7 @@ endif if has("persistent_undo") set undofile - set undodir=$HOME/.undodir + set undodir=$HOME."/.undodir" augroup undodir autocmd! autocmd BufWritePre /tmp/* setlocal noundofile