* Robert Cussons on Wednesday, April 18, 2007 at 09:22:13 +0200: > 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?
You could just try ;) > Do I need to do anything else, or will this automatically take effect > next time I open a .tex file. Commenting out line 112 in elementmacros.vim does it for me: " call <SID>Tex_FontFamily("FMD","series") c -- Vim plugin to paste current GNU Screen buffer in (almost) any mode: <http://www.vim.org/scripts/script.php?script_id=1512>