diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-18 10:36:03 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-18 10:36:03 +1200 |
commit | 5bdb2da73bfa63dd2af4b69c999374f1833dbc77 (patch) | |
tree | cce229bfc713b84b107fe12c4535807a389abb18 | |
parent | Make 'backupskip' with Unix paths depend on +unix (diff) | |
download | dotfiles-5bdb2da73bfa63dd2af4b69c999374f1833dbc77.tar.gz dotfiles-5bdb2da73bfa63dd2af4b69c999374f1833dbc77.zip |
Remove double-trail-slash from 'backupdir'
I forgot that it only works for 'directory' and 'undodir'.
-rw-r--r-- | vim/vimrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -53,11 +53,11 @@ set backspace+=start " The start of current insertion " Do keep backups set backup -" Try to keep them all in one system-appropriate dir, with full path +" Try to keep them all in one system-appropriate dir if has('unix') - set backupdir^=~/.vim/cache/backup// + set backupdir^=~/.vim/cache/backup elseif has('win32') || has('win64') - set backupdir^=~/vimfiles/cache/backup// + set backupdir^=~/vimfiles/cache/backup endif " Don't back up stuff in /dev/shm or /var/tmp |