From: Brad W. <br...@wc...> - 2008-09-14 17:48:47
|
Thanks, Sebastian. I'll keep an eye out for the new release. Am I right in assuming that these mappings happen AFTER vimrc is loaded? If they could be set before vimrc, it would be trivial to unset any key bindings there. Additionally, it makes sense to only map keys that have bindings in Eclipse. Is there a way to poll Eclipse for its current key bindings during vimplugin startup? Brad P.S. Sorry for the lack of proper threading - I wasn't subscribed before. > Bad news first, I think you cannot disable it easily. > > Good news, I remember the background now: > > Some hard-coded function in vimplugin "registers" some hotkeys with > vim at startup. Then, vim fires specific events once these keys are > pressed. These events are caught in turn by vimplugin to perform > eclipse actions. > > For <C-B>: when you turn off "automatic build" in eclipse, > pressing <C-B> inside vim will build the project. > > In the current trunk version this is configurable: i.e. map any key to > any eclipse action. It is not very stable by now, but perhaps you want > to have a look at it. > > I will make a new release with that soon (ca. two weeks). > > Sebastian. |