Ches Martin avatar Ches Martin committed e59820b

vim: Standardize autosave directory for swap files and such

Comments (0)

Files changed (1)

   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'
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.