aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-18 10:23:30 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-18 10:23:30 +1200
commitf745e84cfc4f7468481c16644f22d9035af4e5f6 (patch)
tree7e0cefc32a12e0758ba2831cfd9208fc32d2c960 /vim
parente2b4d8fbe5e3a8bfce4adf3d3489357d2ca27efa (diff)
downloaddotfiles-f745e84cfc4f7468481c16644f22d9035af4e5f6.tar.gz
dotfiles-f745e84cfc4f7468481c16644f22d9035af4e5f6.zip
Correct 'directory' setting
Today has not been my day.
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 4a999f7f..36090c8c 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -65,9 +65,9 @@ set backupskip+=/dev/shm,/var/tmp
" Try to keep swapfiles in one system-appropriate dir
if has('unix')
- set directory^=~/.vim/cache/undo
+ set directory^=~/.vim/cache/swap//
elseif has('win32') || has('win64')
- set directory^=~/vimfiles/cache/undo
+ set directory^=~/vimfiles/cache/swap//
endif
" How to deal with lines wrapping beyond the last screen row