Key binding with Ctrl
Joerg Fischer
jf505 at gmx.de
Wed Oct 18 23:45:46 CEST 2006
Scott Woodford wrote:
> So I was able to rebind Ctrl-H with:
>
> nedit*searchMenu.findSelection.accelerator:
>
> in .Xdefaults to clear its default binding to find_selection(), and in
> nedit.macroCommands in .nedit I put
My .nedit file, from version 5.4 on called nedit.rc, starts with
! Preferences file for NEdit
!
! This file is overwritten by the "Save Defaults..." command in NEdit
! and serves only the interactively settable options presented in the NEdit
! "Preferences" menu.
This means that you shouldn't edit this file normally (which AFAIR
was stated explicitly in former versions), but use the Preferences
menu to change the settings. More precisely for the macroCommands
part it is the Macro Menu, that is under
Preferences->Default Settings->Customize Menus->Macro Menu,
btw I have the entry
nedit*macroMenu.accelerator: <Key>F12
in my .Xdefaults file, so the menu can be invoked more simply with F12.
There is a entry field called Accelerator, where the shortcuts are
defined. Click in the field and type the shortcut. When "Save
Defaults" is executed the new settings will be stored in .nedit (or
nedit.rc) automatically. (If you try to exit with changed but not
yet saved settings, nedit will remind you to save them.)
Cheers,
Jörg
More information about the Discuss
mailing list