summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.xyz>2021-04-13 17:16:01 -0500
committerDanny Holman <dholman@gymli.xyz>2021-04-13 17:16:01 -0500
commitf950f7345dcd091d276f39e92b38b88c37e4f6da (patch)
tree009c285daf94098b6fd3f32dd19169cf39a559f9 /.vimrc
parent000db5161a8cdbd5b06b802feecdff176fd616d5 (diff)
Updates
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc6
1 files changed, 2 insertions, 4 deletions
diff --git a/.vimrc b/.vimrc
index 34bc3fc..60ca2c8 100644
--- a/.vimrc
+++ b/.vimrc
@@ -36,10 +36,8 @@ map <silent><Leader><S-p> :set paste<CR>O<esc>"*]p:set nopaste<cr>"
" Disable folding
set nofoldenable
-" Turn off swap files
-set noswapfile
-set nobackup
-set nowb
+" Put swap files into a tmp directory
+set directory^=$HOME/.vim/tmp//
" Spellcheck
function! ToggleSpell()