Skip to content

Instantly share code, notes, and snippets.

@ameensol
Last active August 29, 2015 14:16
Show Gist options
  • Save ameensol/6efc8388e15d33c11de9 to your computer and use it in GitHub Desktop.
Save ameensol/6efc8388e15d33c11de9 to your computer and use it in GitHub Desktop.
" Keep a backup file.
" set backup
" Do not back up temporary files.
set backupskip=/tmp/*,/private/tmp/*"
" Store backup files in one place.
" set backupdir^=$HOME/.vim/backup//
set nobackup
set nowritebackup
" Store swap files in one place.
set dir^=$HOME/.vim/swap//
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment