On 2012-02-07, jorge rodrigues wrote:
> Would it be possible to have the mappings that are defined in
> imaps.vim defined only for latex files?
> Are they useful for other file types?
As far as I can tell, the mappings aren't defined in imaps.vim; the
LaTeX mappings are defined in various files in the latex-suite. The
imaps.vim file simply defines the functions used to create the
mappings.
So, the IMAP mappings defined for LaTeX files are already used only
for LaTeX files. I doubt that the LaTeX mappings would be useful
for any other file type, but the IMAP mapping mechanism would be
useful for creating mappings tailored to other file types.
Regards,
Gary
|