From e3a783b16a07c4f41955bb54dbc1800203b9b4d4 Mon Sep 17 00:00:00 2001 From: ache Date: Tue, 5 Feb 2019 07:59:36 +0100 Subject: Home expend --- plugin/perso.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/perso.vim b/plugin/perso.vim index 8d7c9ff..54f865f 100755 --- a/plugin/perso.vim +++ b/plugin/perso.vim @@ -134,7 +134,8 @@ highlight CursorColumn ctermbg=Red set hls set incsearch -au BufNewFile *.c 0r ~/.vim/template/skel.c +let $VIMHOME=expand(':p:h:h') +au BufNewFile *.c 0r $VIMHOME/template/skel.c let g:deoplete#enable_at_startup = 1 -- cgit v1.2.3