> From: Sebastian Menge <sebastian.menge@un...> - 2008-09-10 22:33
> Am Wed, 10 Sep 2008 15:06:53 -0600
> schrieb Brad Waite <brad@wc...>:
>
>> Is there a way to disable a nbkey mapping in a vimrc? Ctrl-B isn't
>> working and I see that a netbeans key is being mapped, but I can't
>> figure out a way to keep the mapping from taking place.
>>
>> >From what I've gathered, nbkeys are mapped based on keyboard
>> >shortcuts in
>> Eclipse (Prefs->General->Keys). I've disabled all Ctrl-B binding
>> there, but it doesn't seem to make a difference.
>>
>> And since vimplugin is resetting the cursor to 1,1 with every window
>> switch, I need my Ctrl-B!
>>
>> Any help is appreciate.
>
> You wont like the workaround to use <PgUp> or <S-Down>, right?
Not when my fingers automatically go to <C-B> and <C-F> and have for years. :)
> What do you mean by "nbkey mapping" ?
>From what I can tell, vimplugin uses the netbeans interface to send events,
etc. between itself and Eclipse. There's not much in the way of
documentation that I can find, but it appears that any special keys mapped
in the IDE (Ctrl-B to build, for example) are declared to vimplugin which
implements them as an key mapping. ":map" in vimplugin shows this:
n <C-B> :nbkey C-B
That doesn't show up in my standalone vim and any <C-B> mappings I do in my
vimrc are overridden in the plugin.
> It seems that no "Ctrl" key-mapping arrives at vim, so that's probably
> not the course.
What do you mean by arrives at vim?
|