aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2011-11-17 11:55:23 +1300
committerTom Ryder <tom@sanctum.geek.nz>2011-11-17 11:55:23 +1300
commita9a986b5509f1633e6ccd17f23b73f8d0b050c6e (patch)
treec674a785a052b6467ab2c18e7930a22a6d7b8ba3
parentBackups, undo files, maps ... (diff)
downloaddotfiles-a9a986b5509f1633e6ccd17f23b73f8d0b050c6e.tar.gz
dotfiles-a9a986b5509f1633e6ccd17f23b73f8d0b050c6e.zip
Add swapfiles parameters
-rw-r--r--vim/vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 9cc94e0e..fbba6784 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -78,6 +78,10 @@ endif
set splitbelow
set splitright
+" Swapfile
+set swapfile
+set directory=$HOME/.vim/swap,/tmp
+
" Typos
command WQ wq
command Wq wq