summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-04-28 01:09:20 -0500
committerdoy <doy@tozt.net>2009-04-28 01:09:20 -0500
commite05c97ad19d082094cdb9476680d14da3220f390 (patch)
tree9477d423192ca6ccd6f316f0469ddef3f3b6f8e4 /vimrc
parent5cbcc88f5d386fc2ba1801752464b6355d2ac54b (diff)
downloadconf-e05c97ad19d082094cdb9476680d14da3220f390.tar.gz
conf-e05c97ad19d082094cdb9476680d14da3220f390.zip
enable the undofile option, if we have it available
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index fbb9612..b37f396 100644
--- a/vimrc
+++ b/vimrc
@@ -154,6 +154,10 @@ if has("autocmd") && exists("+omnifunc")
endif
let mapleader = ';'
+
+if exists("+undofile")
+ set undofile
+endif
" }}}
" Make vim less whiny {{{
" :bn with a change in the current buffer? no prob!