intercepting accelerator keypresses

Jason Hildebrand <[email protected]>
Newsgroups gmane.comp.gnome.components
Message-ID <1048189513.3315.56.camel@localhost>
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
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.