summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2019-02-05 07:59:36 +0100
committerache <ache@ache.one>2019-02-05 07:59:44 +0100
commite3a783b16a07c4f41955bb54dbc1800203b9b4d4 (patch)
treefaa3bd71f9988d519d13fe612c82f16ea9a9f55d
parentMerge branch 'master' into neovim (diff)
Home expend
-rwxr-xr-xplugin/perso.vim3
1 files changed, 2 insertions, 1 deletions
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('<sfile>:p:h:h')
+au BufNewFile *.c 0r $VIMHOME/template/skel.c
let g:deoplete#enable_at_startup = 1