aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2011-10-28 19:09:44 +0900
committermattn <mattn.jp@gmail.com>2011-10-28 19:09:44 +0900
commit6e029a7db1baaecb792eddfd4dca38ffd5f9a132 (patch)
tree2b2f4bfc3e6cb7cf3fecd813fb84436b14ff520e /plugin
parent7ac0994466608725e7138feb9bb3aa00bdf6ae39 (diff)
downloadvim-sonictemplate-6e029a7db1baaecb792eddfd4dca38ffd5f9a132.tar.gz
vim-sonictemplate-6e029a7db1baaecb792eddfd4dca38ffd5f9a132.tar.bz2
vim-sonictemplate-6e029a7db1baaecb792eddfd4dca38ffd5f9a132.zip
renamed to SonicTemplate.
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