This commit is contained in:
Thomas FORGIONE
2016-10-21 10:29:31 +02:00
parent 9ec50004c1
commit b4a87e8ac9
3 changed files with 11 additions and 7 deletions

1
vimrc
View File

@@ -105,6 +105,7 @@ let g:WebDevIconsNerdTreeGitPluginForceVAlign = 1
" }}}
" BACKUPS ###########################################################{{{
set dir=$HOME/.vim/swp//
autocmd BufWritePost * :silent execute ':w! ' ."$HOME/.vim/backups/" . escape(substitute(expand('%:p'), "/", "%", "g"), "%")
if exists('+undofile')