aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/vimrc5
1 files changed, 1 insertions, 4 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 75167735..2637170b 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -159,10 +159,7 @@ endif
" Keep undo files, hopefully in a dedicated directory
if has('persistent_undo')
set undofile
- set undodir^=~/.vim/cache/undo//
- if has('win32') || has('win64')
- set undodir^=~/vimfiles/cache/undo//
- endif
+ set undodir^=~/.vim/cache/undo//,~/vimfiles/cache/undo//
endif
" Don't store any options or mappings in sessions