diff --git a/.vim/swp/.gitignore b/.vim/swp/.gitignore new file mode 100644 index 0000000..1377554 --- /dev/null +++ b/.vim/swp/.gitignore @@ -0,0 +1 @@ +*.swp diff --git a/.vimrc b/.vimrc index 96229d8..374b348 100644 --- a/.vimrc +++ b/.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.