Overriding bindkeys

Thorsten Haude yoo at vranx.de
Wed Jan 31 08:15:46 CET 2007


Hi,

* Eric Bouyoux wrote (2007-01-30 15:19):
>I would like to override an existing bindkey (CTRL+E = Goto Selected)
>that I never use and map this key definition to a macro I wrote.
>This macro is defined in the Macro menu field (and works) but I can't
>make it work with Ctrl+E.
>I tried to do it in .Xdefaults but it does not work.

Try removing the old key binding in your .Xdefaults. Here is an
example from my ~/.Xresources:
nedit*searchMenu.gotoSelected.accelerator:
nedit*searchMenu.gotoSelected.acceleratorText:

This frees the keys for the macros.

(Goto Selected is a great function btw, I only run it through a macro
to filter out non-digits before running it.)


Thorsten
-- 
Once upon the time, the music industry had something to offer to us - they
distributed the music we would have never heard without them.
Now, they need laws that prevent us to do ourself what they do for money.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.nedit.org/pipermail/discuss/attachments/20070131/95894fd0/attachment-0001.bin


More information about the Discuss mailing list