summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vimrc9
1 files changed, 9 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index db3682c..cf9cddd 100644
--- a/vimrc
+++ b/vimrc
@@ -197,6 +197,15 @@ nnoremap <leader>dw :windo diffthis<CR>
nnoremap <leader>dn :diffoff!<CR>
"}}}
+"{{{ undodir
+
+if !isdirectory($HOME . "/.vimundo")
+ call mkdir($HOME . "/.vimundo", "", 0700)
+endif
+set undodir=$HOME/.vimundo
+set undofile
+
+"}}}
"{{{ Basic Movement
augroup aug:HelpPageKeyMaps