Manfred Lotz wrote:
> Andy Wokula wrote:
>
>>> I have
>>> imap ( ()<Left>
>>> imap [ []<Left>
>>> imap { {}<Left>
>>>
>>> in my ~/.vimrc. When loading a tex file those mappings get overwritten
>>> by stuff from latex-suite which is ok.
>>>
>> Normal ftplugins should map keys with <buffer> modifier to only hide
>> (not replace) global mappings.
>> But latexsuite and its imaps plugin maps some keys globally.
>> :verb imap (
>>
>>
>>> However, when switching back to a non tex buffer my mappings are not
>>> restored and the latex-suite mappings are still in effect. Is this works
>>> as designed or is it my mistake?
>>>
>> It's a latex-suite issue.
>>
>>
>
> That seems to be a bad behavior of latex-suite.
>
>
Yes -- there's a <buffer> map modifier which could be used to keep the
latex-suite maps buffer-local.
Regards,
Chip Campbell
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---