aboutsummaryrefslogtreecommitdiff
path: root/vim/config/backup.vim
blob: cf2d63baebae8df59da53e083970cb62babf45f1 (plain) (blame)
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 backups 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/*