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 endif
" Required: " 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: " Required:
call plug#begin('/home/barak/.vim/bundle') call plug#begin($HOME . '/.vim/bundle')
" Plugins that must be first " 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 'let-def/vimbufsync'
Plug 'lambdalisue/suda.vim' Plug 'lambdalisue/suda.vim'
@ -787,7 +787,7 @@ endif
" ** SEE ALSO ** " ** SEE ALSO **
" filetype.vim " 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', [ "call remote#host#RegisterPlugin('python3', '/home/barak/.vim/bundle/deoplete.nvim/rplugin/python3/deoplete', [