aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-23 16:17:18 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-23 16:17:18 +1200
commit90c0d6e95ca39f172764a77741fd5d1f03f748bc (patch)
tree54247865e05861a05c6ee4fa193c19fb65a9764b
parentRemove superfluous [t,]t maps (diff)
downloaddotfiles-90c0d6e95ca39f172764a77741fd5d1f03f748bc.tar.gz
dotfiles-90c0d6e95ca39f172764a77741fd5d1f03f748bc.zip
Inline 'undodir' assignment
-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