Permalink
Browse files

persitent undo on vim

  • Loading branch information...
1 parent 89b1636 commit b15bd364f1bb8e5a4285d85dd98b90a0c9907f3a @kitop committed Aug 4, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 vimrc
View
6 vimrc
@@ -20,6 +20,12 @@ runtime macros/matchit.vim
set backupdir=~/.vim-tmp,~/.tmp,~/tmp,/var/tmp,/tmp
set directory=~/.vim-tmp,~/.tmp,~/tmp,/var/tmp,/tmp
+"persistent undo
+set undodir=~/.vim/undodir
+set undofile
+set undolevels = 1000 "maximum number of changes that can be undone
+set undoreload = 10000 "maximum number lines to save for undo on a buffer reload
+
"
" Visual {

0 comments on commit b15bd36

Please sign in to comment.