RE: Need help changing key bindings

"Paterline, David L." <[email protected]>
Newsgroups gmane.editors.nedit.user
Message-ID <[email protected]>
Works great. I was missing the part about removing the pre-defined key
binding. Thank you.

-
David L. Paterline
Principal Engineer       
Westinghouse Electric Company
Nuclear Fuel Engineering
Engineering Computing
[email protected]   
PH: 412-374-2286
FX: 412-374-2284

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of AVKuznetsov
Sent: Friday, July 04, 2008 4:04 AM
To: [email protected]
Subject: Re: Need help changing key bindings

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
-- 
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.