From 3b687f33427eba1392be416deb79c1506680d3d7 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Sun, 26 Jul 2020 11:46:08 -0700 Subject: [PATCH] use $HOME instead of hard path in vimrc --- .vimrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.vimrc b/.vimrc index 2bb4295..b87a31b 100644 --- a/.vimrc +++ b/.vimrc @@ -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', [