1. Ches Martin
  2. dotfiles


Ches Martin  committed e59820b

vim: Standardize autosave directory for swap files and such

  • Participants
  • Parent commits 738d0e8
  • Branches default

Comments (0)

Files changed (1)

File .vimrc

View file
   set nobackup                  " do not keep a backup file, use versions instead
   set backup                    " keep a backup file
-  set backupdir=~/.backup/vim   " leave all the droppings in one place
+  set backupdir=~/.autosave/vim " leave all the droppings in one place
 set history=500     " keep more command line history
   " Open the YankRing window
   nnoremap <silent> <M-v> :YRShow<CR>
-  let g:yankring_history_dir = '$HOME/.autosave'
+  let g:yankring_history_dir = '$HOME/.autosave/vim'
   " Make sure YankRing plays nice with custom remapping.
   " See `:h yankring-custom-maps`
     nnoremap <silent> Y   :<C-U>YRYankCount 'y$'<CR>
-  let g:dbext_default_history_file = '$HOME/.autosave'
+  let g:dbext_default_history_file = '$HOME/.autosave/vim'
   " Lusty Juggler buffer switcher
   let g:LustyJugglerShowKeys = 'a'