Browse Source

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

Dave Lens 11 years ago
parent
commit
49cc56ba35
2 changed files with 3 additions and 0 deletions
  1. 1 0
      .vim/swp/.gitignore
  2. 2 0
      .vimrc

+ 1 - 0
.vim/swp/.gitignore

@@ -0,0 +1 @@
+*.swp

+ 2 - 0
.vimrc

@@ -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.