aboutsummaryrefslogtreecommitdiff
path: root/vim/config/backup.vim
blob: c0f131265e4afa0f9704d8a1a7f584c342ebef41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
" Default to no backup files at all, in a way that even ancient/tiny Vims will
" understand; the auto_cache_dirs.vim plugin will take care of re-enabling
" this with a 'backupdir' setting
set nobackup
set nowritebackup

" If backps are enabled, use a more explicit and familiar backup suffix
set backupext=.bak

" Don't back up files in anything named */shm/; they might be password
" files
set backupskip+=*/shm/*