Sfoglia il codice sorgente

enabled persistant undo history

wreed4 10 anni fa
parent
commit
b05e7c7eb4
2 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 1 0
      .gitignore
  2. 4 0
      .vimrc

+ 1 - 0
.gitignore

@@ -2,3 +2,4 @@ bundle/**
 spell/**
 .netrwhist
 *.d
+undodir/**

+ 4 - 0
.vimrc

@@ -274,6 +274,10 @@ set splitright
 "turn omnicomplete on
 set omnifunc=syntaxcomplete#Complete
 
+" enable persistant undo history
+set undofile
+set undodir=~/.vim/undodir
+
 " }}}
 
 "{{{ ***** VISUALS ***** "