[Vim-latex-cvs] vimfiles/ftplugin/tex brackets.vim,1.5,1.5.2.1
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2002-12-14 10:59:25
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/tex In directory sc8-pr-cvs1:/tmp/cvs-serv21869/ftplugin/tex Modified Files: Tag: b-newimaps brackets.vim Log Message: Changed ä to <++> changed « to <+ changed » to +> No other change. I will not be posting the actual diff of this commit to the group. Just the log. Check the web cvs if you want the diff. Index: brackets.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/tex/brackets.vim,v retrieving revision 1.5 retrieving revision 1.5.2.1 diff -C2 -d -r1.5 -r1.5.2.1 *** brackets.vim 13 Dec 2002 17:24:31 -0000 1.5 --- brackets.vim 14 Dec 2002 10:59:21 -0000 1.5.2.1 *************** *** 2,6 **** " Author: Carl Mueller " (incorporated into latex-suite by Srinath Avadhanula) ! " Last Change: Fri Dec 13 12:00 PM 2002 EST " Description: " This ftplugin provides the following maps: --- 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: *************** *** 93,97 **** return "\<BS>".'\mathcal{'.toupper(char).'}' else ! return Tex_PutTextWithMovement('\cite{«»}«»') endif endfunction --- 93,97 ---- return "\<BS>".'\mathcal{'.toupper(char).'}' else ! return Tex_PutTextWithMovement('\cite{<++>}<++>') endif endfunction *************** *** 103,112 **** " If the character before typing <M-l> is one of '([{|<q', then do the " following: ! " 1. (<M-l> \left(«»\right«» " similarly for [, | ! " {<M-l> \left\{«»\right\}«» ! " 2. <<M-l> \langle«»\rangle«» ! " 3. q<M-l> \lefteqn{«»}«» ! " otherwise insert \label{«»}«» function! Tex_LeftRight() let line = getline(line(".")) --- 103,112 ---- " If the character before typing <M-l> is one of '([{|<q', then do the " following: ! " 1. (<M-l> \left(<++>\right<++> " similarly for [, | ! " {<M-l> \left\{<++>\right\}<++> ! " 2. <<M-l> \langle<++>\rangle<++> ! " 3. q<M-l> \lefteqn{<++>}<++> ! " otherwise insert \label{<++>}<++> function! Tex_LeftRight() let line = getline(line(".")) *************** *** 121,131 **** 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{«»}«»' endif endfunction " }}} --- 121,131 ---- 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{<++>}<++>' endif endfunction " }}} |