Need help changing key bindings

AVKuznetsov kuzn at htsc.mephi.ru
Fri Jul 4 10:03:31 CEST 2008


On Thu, 3 Jul 2008 16:19:42 -0400
"Paterline, David L." <paterldl at westinghouse.com> wrote:

> Hello -
> 
>  
> 
> I'm trying to bind ctrl-y to the Edit -> Redo function, and having no
> success.
> 
>  
> 
> After reading the 'help' information, I've tried adding this to my X
> defaults file:
> 
>  
> 
> nedit*editMenu.redo.acceleratorText: Ctrl+y
> 
> nedit*editMenu.redo.accelerator: Ctrl<Key>Y
> 
>  
> 
> and I've tried this:
> 
>  
> 
> NEdit*text.Translations: #override \n\
> 
>   Ctrl<Key>y: redo() \n
> 
>  
> 
> but neither one worked.
> 
Hi David,

Ctrl+Y is bound to "Open Selected" in the File menu, so
you must remove this binding from Xresources at first.

nedit*fileMenu.openSelected.accelerator:

Then you can either add above mentioned to Xresources

nedit*text.Translations: #override \n\
   Ctrl<Key>y: redo() \n

or add binding you want via
Preferences> Default Settings> Customize Menus> Macro or Window Background menus

Alexey Kuznetsov



More information about the Discuss mailing list