help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Key binding syntax


From: Jesper Harder
Subject: Re: Key binding syntax
Date: Tue, 12 Apr 2005 00:07:12 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (darwin)

Greg Novak <address@hidden> writes:

> I also did "apropos-command key" looking for a command where I can hit
> a key and have emacs tell me the exact text that should go into the
> first argument to local-set-key in order to rebind the key.  Much like
> describe-key, but telling me how to rebind it, not what the current
> current binding happens to be.

You can use the output from `describe-key' (C-h k) in the `kbd' macro.
E.g.

       (global-set-key (kbd "<S-tab>") 'tetris)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]