Added global backup, swap, undo directories

Closes #13 Doesn't address visualizing the undo tree. Going to start
using `:undolist` and if I can add that to my workflow, I'll pursue
something like gundo.vim down the road
This commit is contained in:
Josh Sherman 2016-08-19 09:24:57 -05:00
parent 21ed51bd6c
commit 185dece6f7
4 changed files with 11 additions and 5 deletions

2
vim/backup/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*
!.gitignore

2
vim/swap/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*
!.gitignore

2
vim/undo/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*
!.gitignore

View file

@ -62,11 +62,11 @@ else
set textwidth=0
endif
" set backupdir=~/.vim/backup//,/tmp
" set directory=~/.vim/swap//,/tmp
" set undodir=~/.vim/undo//,/tmp
" set undofile
"
set backupdir=~/.vim/backup//,/tmp
set directory=~/.vim/swap//,/tmp
set undodir=~/.vim/undo//,/tmp
set undofile
call vundle#rc()
Plugin 'gmarik/vundle'