summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-11-09 10:47:48 -0600
committerJesse Luehrs <doy@tozt.net>2011-11-09 10:50:19 -0600
commitfd859caa2c47489c93434fc2d03bb28507fd3cf5 (patch)
tree5812e1b50b0a672c6106f3fc38724f9beb3dcb2e /vimrc
parent404663f8e52f137b59e37bba421be2e170006710 (diff)
downloadconf-fd859caa2c47489c93434fc2d03bb28507fd3cf5.tar.gz
conf-fd859caa2c47489c93434fc2d03bb28507fd3cf5.zip
persistent undo config for the stuff actually shipped in 7.3
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 7ee05ad..2d0bc24 100644
--- a/vimrc
+++ b/vimrc
@@ -157,8 +157,9 @@ endif
let mapleader = ';'
-if exists("+undofile")
+if has("persistent_undo")
set undofile
+ set undodir=~/.vim/undo
endif
" }}}
" Make vim less whiny {{{