aboutsummaryrefslogtreecommitdiff
path: root/vim/config/backup.vim
blob: 8735a0940c8678433321d87141e3d90c01885a19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
" Default to no backup files at all, in a way that even ancient/tiny Vims will
" understand; the auto_backupdir.vim plugin will take care of re-enabling this
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/*