summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2019-02-05 17:54:10 +0100
committerache <ache@ache.one>2019-02-05 17:54:10 +0100
commit78a2b85201230a0289d944cfb63e838a48dc2021 (patch)
tree52b2689ab922212420e804cf8a270644c616f7a6
parentAle Error/Warning print (diff)
parentHome expend (diff)
Merge branch 'neovim' of srv:git/vim into neovim
-rwxr-xr-xplugin/perso.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/perso.vim b/plugin/perso.vim
index b26ed14..3479381 100755
--- a/plugin/perso.vim
+++ b/plugin/perso.vim
@@ -132,7 +132,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