Explorar o código

enabled persistant undo history

wreed4 %!s(int64=10) %!d(string=hai) anos
pai
achega
b05e7c7eb4
Modificáronse 2 ficheiros con 5 adicións e 0 borrados
  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 ***** "