Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1:/tmp/cvs-serv31430
Modified Files:
wizardfuncs.vim
Log Message:
add m argument to Tshortcuts - show mathc shortcuts
Index: wizardfuncs.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/wizardfuncs.vim,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** wizardfuncs.vim 7 Jul 2003 08:06:21 -0000 1.18
--- wizardfuncs.vim 3 Sep 2003 20:50:54 -0000 1.19
***************
*** 243,253 ****
function! Tex_shortcuts(...)
if a:0 == 0
! let shorts = input( " Allowed arguments are:"
\."\n g General"
\."\n e Environments"
\."\n f Fonts"
\."\n s Sections"
\."\n a All"
! \."\n Enter your choice : ")
call Tex_shortcuts(shorts)
elseif a:1 == 'g'
--- 243,254 ----
function! Tex_shortcuts(...)
if a:0 == 0
! let shorts = input(" Allowed arguments are:"
\."\n g General"
\."\n e Environments"
\."\n f Fonts"
\."\n s Sections"
+ \."\n m Math"
\."\n a All"
! \."\n Enter your choice (<Enter> quits) : ")
call Tex_shortcuts(shorts)
elseif a:1 == 'g'
***************
*** 259,262 ****
--- 260,265 ----
elseif a:1 == 's'
echo g:sectionshortcuts
+ elseif a:1 == 'm'
+ echo g:mathshortcuts
elseif a:1 == 'a'
echo g:generalshortcuts
***************
*** 264,267 ****
--- 267,271 ----
echo g:fontshortcuts
echo g:sectionshortcuts
+ echo g:mathshortcuts
endif
***************
*** 333,336 ****
--- 337,376 ----
\."\n SPG ".g:Tex_Leader2."pg paragraph"
\."\n SSP ".g:Tex_Leader2."sp subparagraph"
+ " }}}
+ " Math shortcuts {{{
+ let g:mathshortcuts = ''
+ \."\n Math shortcuts - Insert mode"
+ \."\n `a \\alpha `b \\beta"
+ \."\n `g \\gamma `d \\delta"
+ \."\n `e \\varepsilon `z \\zeta"
+ \."\n `h \\eta `q \\theta"
+ \."\n `i \\iota `k \\kappa"
+ \."\n `l \\lambda `m \\mu"
+ \."\n `n \\nu `x \\xi"
+ \."\n `p \\pi `r \\rho"
+ \."\n `s \\sigma `v \\varsigma"
+ \."\n `t \\tau `u \\upsilon"
+ \."\n `f \\varphi `c \\chi"
+ \."\n `y \\psi `w \\omega"
+ \."\n `A \\Alpha `B \\Beta"
+ \."\n `G \\Gamma `D \\Delta"
+ \."\n `E \\Epsilon `Z \\mathrm{Z}"
+ \."\n `H \\Eta `K \\Kappa"
+ \."\n `L \\Lambda `M \\Mu"
+ \."\n `N \\Nu `X \\Xi"
+ \."\n `P \\Pi `R \\Rho"
+ \."\n `S \\Sigma `T \\Tau"
+ \."\n `U \\Upsilon `C \\Chi"
+ \."\n `Y \\Psi `W \\Omega"
+ \."\n `( \\subset `) \\Subset"
+ \."\n `= \\equiv =~ \\approx"
+ \."\n `- \\bigcap `+ \\bigcup"
+ \."\n `. \\cdot `* \\times"
+ \."\n `\\ \\setminus `@ \\circ"
+ \."\n `& \\wedge `, \\nonumber"
+ \."\n `8 \\infty `_ \\bar{}"
+ \."\n `: \\ddot{} `; \\dot{}"
+ \."\n `^ \\hat{} `~ \\tilde{}"
+ \."\n `6 \\partial"
" }}}
|