On Dec 12, 2008, at 10:31 AM, Paul A. Rubin wrote:
Christopher Menzel wrote:
I'm using LyX 1.6 in a Linux virtual machine under OS X which uses the option key as the alt key. (I also use the OS X version, of course.) I would like to have as many Emacs keybindings as possible in LyX, in particular, Alt-f to move forward by word, Alt- d to delete by word. However, even though I have defined my desired keybindings in the emacs.bind file, with the OS X keyboard, Alt-f still brings up the File menu and Alt-d the Document menu. So, question: Is it possible to override this behavior, either in a LyX config file or some other config file, so that I can get the Emacsy behavior I long for?

In the <lyx>/Resources/ui folder, try editing stdmenus.inc.

That is so totally the right answer! The trick was simply to edit the lines

  Submenu "File|F" "file"
  Submenu "Document|D" "document"

to

  Submenu "File|" "file"
  Submenu "Document|" "document"

Just for clarification, since I'm actually running Linux natively in a virtual machine under OS X -- via Sun's excellent, cost-free VM software VirtualBox (http://virtualbox.org) -- I needed to edit the stdmenus.inc file for the *Linux* version of LyX, which was found in / usr/share/lyx/ui.

Thanks again.

-chris

Reply via email to