diff options
Diffstat (limited to 'vim/config')
-rw-r--r-- | vim/config/backup.vim | 5 | ||||
-rw-r--r-- | vim/config/swapfile.vim | 5 | ||||
-rw-r--r-- | vim/config/undo.vim | 2 |
3 files changed, 7 insertions, 5 deletions
diff --git a/vim/config/backup.vim b/vim/config/backup.vim index 8735a094..cf2d63ba 100644 --- a/vim/config/backup.vim +++ b/vim/config/backup.vim @@ -1,9 +1,10 @@ " 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 +" 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 +" 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 diff --git a/vim/config/swapfile.vim b/vim/config/swapfile.vim index bf91aa6b..de0598c2 100644 --- a/vim/config/swapfile.vim +++ b/vim/config/swapfile.vim @@ -1,5 +1,6 @@ -" Default to no swapfile files at all, in a way that even ancient/tiny Vims -" will understand; the auto_swapdir.vim plugin will take care of this +" Default to no swap 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 'directory' setting set noswapfile " Don't keep swap files from temporary directories or shared memory in case diff --git a/vim/config/undo.vim b/vim/config/undo.vim index f85d9d8c..b9186d6f 100644 --- a/vim/config/undo.vim +++ b/vim/config/undo.vim @@ -5,7 +5,7 @@ inoremap <C-c> <C-c>u set undolevels=2000 " 'undodir' and 'undofile' settings will be taken care of by the -" auto_undodir.vim plugin if applicable/possible +" auto_cache_dirs.vim plugin if applicable/possible if has('persistent_undo') " Turn off the option by default |