From d317c5f47c3837bb4ae1e2befd9b3d6de5977384 Mon Sep 17 00:00:00 2001 From: mattn Date: Tue, 8 Nov 2011 18:49:55 +0900 Subject: fixed indent, fixed key assign. --- plugin/sonictemplate.vim | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'plugin') diff --git a/plugin/sonictemplate.vim b/plugin/sonictemplate.vim index 3a0f916..c8f320c 100644 --- a/plugin/sonictemplate.vim +++ b/plugin/sonictemplate.vim @@ -1,7 +1,7 @@ "============================================================================= " File: sonictemplate.vim " Author: Yasuhiro Matsumoto -" Last Change: 02-Nov-2011. +" Last Change: 08-Nov-2011. " Version: 0.06 " WebPage: http://github.com/mattn/sonictemplate-vim " Description: Easy and high speed coding method @@ -21,8 +21,12 @@ let s:save_cpo = &cpo set cpo&vim command! -nargs=1 -complete=customlist,sonictemplate#complete Template call sonictemplate#apply() -nnoremap t :call sonictemplate#select() -inoremap t :call sonictemplate#select() + +nnoremap (sonictemplate) :call sonictemplate#select('n') +inoremap (sonictemplate) :call sonictemplate#select('i') + +nmap t (sonictemplate) +imap t (sonictemplate) let &cpo = s:save_cpo unlet s:save_cpo -- cgit v1.2.3-54-g00ecf