use $HOME instead of hard path in vimrc

This commit is contained in:
Barak Michener 2020-07-26 11:46:08 -07:00
parent e05610d6cc
commit 3b687f3342

8
.vimrc
View file

@ -82,13 +82,13 @@ if exists('veonim')
endif
" Required:
set runtimepath+=/home/barak/.vim/bundle/repos/github.com/Shougo/dein.vim
set runtimepath+=$HOME/.vim/bundle/repos/github.com/Shougo/dein.vim
" Required:
call plug#begin('/home/barak/.vim/bundle')
call plug#begin($HOME . '/.vim/bundle')
" Plugins that must be first
Plug '/home/barak/.vim/bundle/repos/github.com/Shougo/dein.vim'
Plug $HOME . '/.vim/bundle/repos/github.com/Shougo/dein.vim'
Plug 'let-def/vimbufsync'
Plug 'lambdalisue/suda.vim'
@ -787,7 +787,7 @@ endif
" ** SEE ALSO **
" filetype.vim
command Comments lexpr system('/home/barak/src/gogh/src/github.com/barakmich/gogh/gogh')
command Comments lexpr system($HOME . '/src/gogh/src/github.com/barakmich/gogh/gogh')
"call remote#host#RegisterPlugin('python3', '/home/barak/.vim/bundle/deoplete.nvim/rplugin/python3/deoplete', [