Re: [Vim-latex-devel] Re: [Vim-latex-cvs] vimfiles/plugin imaps.vim,1.7,1.8
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sr...@fa...> - 2002-12-12 04:15:58
|
Just a small correction.. On Wed, 11 Dec 2002, Srinath Avadhanula wrote: > Also mathmacros.vim contains about 600 lines which look like this: > > -----------------------------------%<----------------------------------- > let s:pA =3D 'amenu <silent> 85 '.s:MathMenuName > exe s:pA2a.'mathbf{} <plug><C-r>=3DIMAP_PutTextWithMovemen= t("\\mathbf{=E4}=AB=BB")<cr>' > -----------------------------------%<----------------------------------- > > Changing these will also require a nontrivial amount of work. > > <snip> > > ... I would think that the easiest way to affect the change is to > first do a quick > > exec "% s/\e4/<++>/g" " for <a-umlaut> > exec "% s/\xab/<+/g" " for "<<" > exec "% s/\xbb/+>/g" " for ">>" > % s/IMAP_PutTextWithMovement/Tex_PutTextWithMovement/g > > where Tex_PutTextWithMovement() will have to be the "hacky" function > which knows both about the "\xab" characters and the > [g:b]Imap_PlaceHolder* settings. This new function will split its > arguments into variable arguments and then call > Imap_PutTextWithMovement_new. Tex_PutTextWithMovement will _not_ need to know about [g:b]Imap_PlaceHolder* settings, because it will call the Imap_PutTextWithMovement_new() function, not the Imap_PutTextWithMovement() function... thats all for now. This is the last 10 days of classes... So I will not be doing any actual coding in the meantime. Thanks, Srinath |