aboutsummaryrefslogtreecommitdiff
path: root/vim/config/undo.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/config/undo.vim')
-rw-r--r--vim/config/undo.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/config/undo.vim b/vim/config/undo.vim
index c31780e7..f85d9d8c 100644
--- a/vim/config/undo.vim
+++ b/vim/config/undo.vim
@@ -7,6 +7,8 @@ set undolevels=2000
" 'undodir' and 'undofile' settings will be taken care of by the
" auto_undodir.vim plugin if applicable/possible
if has('persistent_undo')
+
+ " Turn off the option by default
set noundofile
" Don't keep undo files from temporary directories or shared memory in case
@@ -19,4 +21,5 @@ if has('persistent_undo')
\ setlocal noundofile
augroup END
endif
+
endif