aboutsummaryrefslogtreecommitdiff
path: root/vim/config
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-05-31 21:52:50 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-05-31 21:52:50 +1200
commit6bdfa50dfda582b42c78bdf335378e71b35e0fb0 (patch)
tree204e9d3dca1c95d7e88e7fb69e63460c05ce9e4a /vim/config
parentMerge branch 'hotfix/v0.37.1' into develop (diff)
downloaddotfiles-6bdfa50dfda582b42c78bdf335378e71b35e0fb0.tar.gz
dotfiles-6bdfa50dfda582b42c78bdf335378e71b35e0fb0.zip
Merge auto_*dir.vim plugins into one, spun out
Functionality merged into new plugin auto_cache_dir.vim.
Diffstat (limited to 'vim/config')
-rw-r--r--vim/config/backup.vim3
-rw-r--r--vim/config/swapfile.vim5
-rw-r--r--vim/config/undo.vim2
3 files changed, 6 insertions, 4 deletions
diff --git a/vim/config/backup.vim b/vim/config/backup.vim
index 8735a094..c0f13126 100644
--- a/vim/config/backup.vim
+++ b/vim/config/backup.vim
@@ -1,5 +1,6 @@
" 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
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