Andy Wokula wrote:
> Manfred Lotz schrieb:
>> When loading a file x.tex the latex-suite menus are visible. However, 
>> when switching to another buffer which is not a tex file I would have 
>> assumed that the latex-suite menus would disappear. This does not happen.
> 
> There is no such thing as (built-in) buffer-local menus in Vim.
> 

Aah, ok. Didn't know this.

>> 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.


-- 
Thanks,
Manfred

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to