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:
parent
21ed51bd6c
commit
185dece6f7
4 changed files with 11 additions and 5 deletions
2
vim/backup/.gitignore
vendored
Normal file
2
vim/backup/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
*
|
||||
!.gitignore
|
2
vim/swap/.gitignore
vendored
Normal file
2
vim/swap/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
*
|
||||
!.gitignore
|
2
vim/undo/.gitignore
vendored
Normal file
2
vim/undo/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
*
|
||||
!.gitignore
|
10
vim/vimrc
10
vim/vimrc
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue