[vim] Move vim state directory to ~/.local/state/vim
This commit is contained in:
parent
4c9e58e179
commit
ad6cc90afa
1 changed files with 1 additions and 1 deletions
2
vimrc
2
vimrc
|
@ -6,7 +6,7 @@ source ~/.vimrc.common
|
|||
if !has('nvim')
|
||||
set nocompatible " use enhanced vim features
|
||||
|
||||
let s:localdir=expand("~/.local/vim")
|
||||
let s:localdir=expand("~/.local/state/vim")
|
||||
if !isdirectory(s:localdir)
|
||||
call mkdir(s:localdir, "p")
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue