intercepting accelerator keypresses



I'm implementing the NautilusView interface for vim, so that vim can be
used to view/edit a file in Nautilus, and have run into a snag wrt
keypresses.

Nautilus uses "Escape" as an accelerator for the "View->Stop" menu item.
This prevents the use of Esc within the embedded Vim to jump back to
command-mode, since Nautilus seems to swallow this keypress (even when
the menu item is insensitive).  There are other accelerators which
conflict with vim keypresses as well.

Is there a way for the control to get first dibs on handling these
keypresses?

-- 
Jason D. Hildebrand
jason peaceworks ca




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]