diff options
author | Cody Hiar <codyfh@gmail.com> | 2017-03-13 13:42:14 -0600 |
---|---|---|
committer | Cody Hiar <codyfh@gmail.com> | 2017-03-13 13:42:14 -0600 |
commit | a41417a23f1be3d1f6b564fdacf166c57913c21c (patch) | |
tree | 1ad313c0a3b27c8d7e62e27d0243ba674d2533d2 /plugin | |
parent | 64e24515d06b7dabd401e4ddd4993aadba66da30 (diff) |
Changing neovim to put HOME in cache folder, keeps command history etc
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/vim-options.vim | 3 |
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/ |