Zeng Weiliang <willie.z...@...> writes:

> 
> Dear All,
> 
> I use lyx for a long time, but a problem on the key binding bothers me a
> lot.
> I like the bind style of emacs. However, when I use the key like Alt+F for
> the word forward and Alt+D for the word delete, it always gets the menu of
> File and Document, respectively. I think this will also happen when I use
> the bind file of cua.
> Is there any ways to modify this?
> 

Copy the user interface file you are using to your local ui directory (~/.lyx/ui
on Linux).  The UI file (probably default.ui) is named in Tools | Preferences |
Look & Feel | User interface.  Edit it to change the mnemonics for the file and
document menu to something not in use.  For instance, change

Submenu "File|F" "file"

to 

Submenu "File|l" "file"

(the new mnemonic is case-sensitive).  Then you should be able to map Alt+F and
ALt+D.  You'll probably also need to copy the emacs.bind file to your local tree
(~/.lyx/bind) and edit it as well; I see M-d assigned to delete word forward but
I don't see M-f assigned to anything.

/Paul


Reply via email to