Update of /cvsroot/vim-latex/vimfiles/ftplugin/tex
In directory sc8-pr-cvs1:/tmp/cvs-serv19503/ftplugin/tex
Modified Files:
Tag: b-newimaps
brackets.vim
Log Message:
. Revert back Tex_IMAP() to IMAP() and
Tex_PutTextWithMovement() to IMAP_PutTextWithMovement().
Index: brackets.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/tex/brackets.vim,v
retrieving revision 1.5.2.1
retrieving revision 1.5.2.2
diff -C2 -d -r1.5.2.1 -r1.5.2.2
*** brackets.vim 14 Dec 2002 10:59:21 -0000 1.5.2.1
--- brackets.vim 19 Dec 2002 12:19:01 -0000 1.5.2.2
***************
*** 2,6 ****
" Author: Carl Mueller
" (incorporated into latex-suite by Srinath Avadhanula)
! " Last Change: Sat Dec 14 01:00 AM 2002 PST
" Description:
" This ftplugin provides the following maps:
--- 2,6 ----
" Author: Carl Mueller
" (incorporated into latex-suite by Srinath Avadhanula)
! " Last Change: Thu Dec 19 03:00 AM 2002 PST
" Description:
" This ftplugin provides the following maps:
***************
*** 93,97 ****
return "\<BS>".'\mathcal{'.toupper(char).'}'
else
! return Tex_PutTextWithMovement('\cite{<++>}<++>')
endif
endfunction
--- 93,97 ----
return "\<BS>".'\mathcal{'.toupper(char).'}'
else
! return IMAP_PutTextWithMovement('\cite{<++>}<++>')
endif
endfunction
***************
*** 121,129 ****
endif
let rhs = matchstr(matchedbrackets, char.'\zs.\ze')
! return "\<BS>".Tex_PutTextWithMovement('\left'.add.char.'<++>\right'.add.rhs.'<++>')
elseif char == '<'
! return "\<BS>".Tex_PutTextWithMovement('langle<++>\rangle<++>')
elseif char == 'q'
! return "\<BS>".Tex_PutTextWithMovement('\lefteqn{<++>}<++>')
else
return '\label{<++>}<++>'
--- 121,129 ----
endif
let rhs = matchstr(matchedbrackets, char.'\zs.\ze')
! return "\<BS>".IMAP_PutTextWithMovement('\left'.add.char.'<++>\right'.add.rhs.'<++>')
elseif char == '<'
! return "\<BS>".IMAP_PutTextWithMovement('langle<++>\rangle<++>')
elseif char == 'q'
! return "\<BS>".IMAP_PutTextWithMovement('\lefteqn{<++>}<++>')
else
return '\label{<++>}<++>'
|