Re: Need help changing key bindings

AVKuznetsov <kuzn-Z+4OxV1pPnQgONJHhpZ/[email protected]>
Newsgroups gmane.editors.nedit.user
Organization MEPhI
Message-ID <[email protected]>
On Thu, 3 Jul 2008 16:19:42 -0400
"Paterline, David L." <[email protected]> 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

-- 
NEdit Discuss mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/discuss
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.