Need help changing key bindings
Paterline, David L.
paterldl at westinghouse.com
Mon Jul 7 15:39:34 CEST 2008
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
paterldl at westinghouse.com
PH: 412-374-2286
FX: 412-374-2284
-----Original Message-----
From: discuss-bounces at nedit.org [mailto:discuss-bounces at nedit.org] On
Behalf Of AVKuznetsov
Sent: Friday, July 04, 2008 4:04 AM
To: discuss at nedit.org
Subject: Re: Need help changing key bindings
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
--
NEdit Discuss mailing list - Discuss at nedit.org
http://www.nedit.org/mailman/listinfo/discuss
More information about the Discuss
mailing list