I haven't received any response from Srinath or Mikolaj, so I thought I
would ask on the Vim list, hope no one minds a specific plugin related
request on the list, but if I can't contact the maintainers I didn't
know who else to ask.
Thanks for any help,
Rob.
-------- Original Message --------
Subject: [Fwd: Latex Suite - question about font shortcut FMD]
Date: Thu, 15 Feb 2007 14:44:35 +0100
From: Robert Cussons <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Tried your old e-mail address first ;-)
-------- Original Message --------
Subject: Latex Suite - question about font shortcut FMD
Date: Thu, 15 Feb 2007 14:09:52 +0100
From: Robert Cussons <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Dear Srinath and Mikolaj,
I work with a nuclear physics model called FMD, so as you can imagine,
each time I type FMD I would prefer it if latex suite didn't interpret
that as an abbreviation for \textmd{}<++> :-)
I found the following lines in the "wizardfuncs.vim" from line 308 onwards:
" Font shortcuts {{{
let g:fontshortcuts = ''
\."\n Font shortcuts"
\."\n <mapleader> is a value of g:Tex_Leader"
\."\n Shortcuts Effects"
\."\n I v&V I&v V"
\."\n FBF ".g:Tex_Leader."bf \\textbf{} {\\bfseries }"
\."\n FMD ".g:Tex_Leader."md \\textmd{} {\\mdseries }"
\."\n"
\."\n FTT ".g:Tex_Leader."tt \\texttt{} {\\ttfamily }"
\."\n FSF ".g:Tex_Leader."sf \\textsf{} {\\sffamily }"
\."\n FRM ".g:Tex_Leader."rm \\textrm{} {\\rmfamily }"
\."\n"
\."\n FUP ".g:Tex_Leader."up \\textup{} {\\upshape }"
\."\n FSL ".g:Tex_Leader."sl \\textsl{} {\\slshape }"
\."\n FSC ".g:Tex_Leader."sc \\textsc{} {\\scshape }"
\."\n FIT ".g:Tex_Leader."it \\textit{} {\\itshape }"
" }}}
Can I remove this particular functionality by putting a " before the
line to do with FMD? So that it would read:
"\."\n FMD ".g:Tex_Leader."md \\textmd{} {\\mdseries }"
does this have the desired effect of commenting this out?
Do I need to do anything else, or will this automatically take effect
next time I open a .tex file.
Many thanks to you both for your help and a great plugin,
Rob.