diff options
author | ache <ache@ache.one> | 2019-02-05 07:59:36 +0100 |
---|---|---|
committer | ache <ache@ache.one> | 2019-02-05 07:59:44 +0100 |
commit | e3a783b16a07c4f41955bb54dbc1800203b9b4d4 (patch) | |
tree | faa3bd71f9988d519d13fe612c82f16ea9a9f55d | |
parent | Merge branch 'master' into neovim (diff) |
Home expend
-rwxr-xr-x | plugin/perso.vim | 3 |
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 |