Browse Source

Fix vim swap dir

Alois Mahdal 4 years ago
parent
commit
0304def909
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      dotfiles/vim/vimrc

+ 1
- 1
dotfiles/vim/vimrc View File

56
 
56
 
57
 " swap settings "
57
 " swap settings "
58
 if isdirectory($HOME . '/.local/share/vim') == 0
58
 if isdirectory($HOME . '/.local/share/vim') == 0
59
-  :silent !mkdir -p ~/.vim/swap >/dev/null 2>&1
59
+  :silent !mkdir -p ~/.local/share/vim/swap >/dev/null 2>&1
60
 endif
60
 endif
61
 set directory=./.vim-swap//
61
 set directory=./.vim-swap//
62
 set directory+=~/.local/share/vim/swap//
62
 set directory+=~/.local/share/vim/swap//