aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 03844def..25fe4e05 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -198,10 +198,10 @@ silent! set ttymouse=
" 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-=~/.vim/cache/undo//
set undodir^=~/vimfiles/cache/undo//
+ else
+ set undodir^=~/.vim/cache/undo//
endif
endif