From 6e029a7db1baaecb792eddfd4dca38ffd5f9a132 Mon Sep 17 00:00:00 2001 From: mattn Date: Fri, 28 Oct 2011 19:09:44 +0900 Subject: renamed to SonicTemplate. --- plugin/sonictemplate.vim | 15 +++++++++++++++ plugin/template.vim | 14 -------------- 2 files changed, 15 insertions(+), 14 deletions(-) create mode 100644 plugin/sonictemplate.vim delete mode 100644 plugin/template.vim (limited to 'plugin') diff --git a/plugin/sonictemplate.vim b/plugin/sonictemplate.vim new file mode 100644 index 0000000..5fe99bd --- /dev/null +++ b/plugin/sonictemplate.vim @@ -0,0 +1,15 @@ +"============================================================================= +" sonictemplate.vim +" Author: Yasuhiro Matsumoto +" Last Change: 28-Oct-2011. +" +" Vim commands to load template. +" +" :Template {name} +" Load template named as {name} in the current buffer. + +command! -nargs=1 -complete=customlist,sonictemplate#complete Template call sonictemplate#apply() +nnoremap t :call sonictemplate#select() +inoremap t :call sonictemplate#select() + +" vim:ts=4:sw=4:et diff --git a/plugin/template.vim b/plugin/template.vim deleted file mode 100644 index 1a832a6..0000000 --- a/plugin/template.vim +++ /dev/null @@ -1,14 +0,0 @@ -"============================================================================= -" template.vim -" Author: Yasuhiro Matsumoto -" Last Change: 28-Oct-2011. -" -" Vim commands to load template. -" -" :Template {name} -" Load template named as {name} in the current buffer. - -command! -nargs=1 -complete=customlist,template#complete Template call template#apply() -inoremap t :call template#select() - -" vim:ts=4:sw=4:et -- cgit v1.2.3-54-g00ecf