diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-20 21:57:54 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-20 21:58:08 +1200 |
commit | 181a03de03d793922033a8362fdc04cffd09d21b (patch) | |
tree | 280124246732450a70465f0fd4278e12ff4d51cb /vim | |
parent | Refine colorscheme selection logic (diff) | |
download | dotfiles-181a03de03d793922033a8362fdc04cffd09d21b.tar.gz dotfiles-181a03de03d793922033a8362fdc04cffd09d21b.zip |
Remove .vimrc 'backup', 'writebackup' settings
'backup' is off by default, and :help 'writebackup' recommends against
disabling it:
> WARNING: Switching this option off means that when Vim fails to write
> your buffer correctly and then, for whatever reason, Vim exits, you
> lose both the original file and what you were writing. Only reset
> this option if your file system is almost full and it makes the write
> fail (and make sure not to exit Vim until the write was successful).
The auto_cache_dirs.vim plugin turns this on if it sensibly can, anyway.
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -48,13 +48,7 @@ set backspace+=indent " Spaces from 'audoindent' set backspace+=eol " Line breaks set backspace+=start " The start of current insertion -" 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 +" If a plugin enables backups, use a more explicit and familiar backup suffix set backupext=.bak " Allow jumping between windows and tabs to find an open instance of a given |