diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/sonictemplate.vim (renamed from plugin/template.vim) | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugin/template.vim b/plugin/sonictemplate.vim index 1a832a6..5fe99bd 100644 --- a/plugin/template.vim +++ b/plugin/sonictemplate.vim @@ -1,5 +1,5 @@ "============================================================================= -" template.vim +" sonictemplate.vim " Author: Yasuhiro Matsumoto <mattn.jp@gmail.com> " Last Change: 28-Oct-2011. " @@ -8,7 +8,8 @@ " :Template {name} " Load template named as {name} in the current buffer. -command! -nargs=1 -complete=customlist,template#complete Template call template#apply(<f-args>) -inoremap <c-y>t <esc>:call template#select()<cr> +command! -nargs=1 -complete=customlist,sonictemplate#complete Template call sonictemplate#apply(<f-args>) +nnoremap <c-y>t :call sonictemplate#select()<cr> +inoremap <c-y>t <esc>:call sonictemplate#select()<cr> " vim:ts=4:sw=4:et |