aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/vim-options.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index aa9b237..c7aa8db 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -95,7 +95,8 @@ highlight SignColumn cterm=NONE ctermfg=0 ctermbg=8
" Vim vs Neovim settings
"-----------------------------------------------------------------------------------------------------------------------
if has('nvim')
- let EditorDir=$HOME.'/.config/nvim/'
+ let $HOME='.vimcache'
+ let EditorDir='/root/.config/nvim/'
silent! execute '!mkdir -p .vimcache/backup'
" Set Backup dirs
set backupdir=.vimcache/backup/