From e05c97ad19d082094cdb9476680d14da3220f390 Mon Sep 17 00:00:00 2001 From: doy Date: Tue, 28 Apr 2009 01:09:20 -0500 Subject: enable the undofile option, if we have it available --- vimrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vimrc') 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! -- cgit v1.2.3-54-g00ecf