vim: set swapfile directory to ~/.vim/swp

This commit is contained in:
Dave Lens
2012-11-05 10:56:13 +01:00
parent 0985004461
commit 49cc56ba35
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
*.swp
+2
View File
@@ -1,4 +1,6 @@
set encoding=utf-8
set directory=~/.vim/swp " *.swp files will end up here
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" When editing a file, always jump to the last known cursor position.