Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1:/tmp/cvs-serv10353
Modified Files:
Tag: b-newpackages
templates.vim
Log Message:
. Using the new syntax for IMAP_Jumpfunc(). TODO: There still a bug in
this... Doing a :startinsert is simply not sufficient. Sometimes we might
want to be left in select mode. The latest version on the main branch should
fix this. This commit might cause a conflict...
Index: templates.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/templates.vim,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -C2 -d -r1.7 -r1.7.2.1
*** templates.vim 22 Dec 2002 03:00:49 -0000 1.7
--- templates.vim 27 Dec 2002 21:27:01 -0000 1.7.2.1
***************
*** 5,9 ****
" Version: 1.0
" Created: Tue Apr 23 05:00 PM 2002 PST
! " Last Change: Thu Dec 19 03:00 AM 2002 PST
"
" Description: functions for handling templates in latex-suite/templates
--- 5,9 ----
" Version: 1.0
" Created: Tue Apr 23 05:00 PM 2002 PST
! " Last Change: Sun Dec 22 03:00 PM 2002 PST
"
" Description: functions for handling templates in latex-suite/templates
***************
*** 30,34 ****
\":call <SID>ReadTemplate('".fnameshort."')<CR>".
\":call <SID>ProcessTemplate()<CR>:0<CR>".
! \"i<C-r>=IMAP_Jumpfunc()<CR>"
let i = i + 1
endwhile
--- 30,34 ----
\":call <SID>ReadTemplate('".fnameshort."')<CR>".
\":call <SID>ProcessTemplate()<CR>:0<CR>".
! \"i<C-r>=IMAP_Jumpfunc('', 1)<CR>"
let i = i + 1
endwhile
***************
*** 87,91 ****
\| :call <SID>ProcessTemplate()
\| :0
! \| :exec "normal! i\<C-r>=IMAP_Jumpfunc()\<CR>"
\| :startinsert
--- 87,91 ----
\| :call <SID>ProcessTemplate()
\| :0
! \| :exec "normal! i\<C-r>=IMAP_Jumpfunc('', 1)\<CR>"
\| :startinsert
|