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

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

Re: Key binding syntax


From: Peter Dyballa
Subject: Re: Key binding syntax
Date: Tue, 12 Apr 2005 00:11:05 +0200


Am 11.04.2005 um 23:22 schrieb Greg Novak:

I'm having a difficult time rebinding Shift-tab or Control tab.

You have some easy choices to do it right!

1. Just type 'M-x global-set-key RET C-TAB RET <function> RET'. Now the key has a binding, but you want to know which. So type again: 'M-x repeat-complex-command C-a C-k C-g C-x f ~/.emacs RET C-y' or 'C-x ESC ESC C-a C-k C-g C-x f ~/.emacs RET C-y' -- got it? When you invoke repeat-complex-command the cursor warps into the minibuffer. There you can go to the beginning of the line and kill it. To kill the active minibuffer send it a keyboard-quit. Now open .emacs and yank the killed into it!

2. Describe-key, C-h k, describes more exactly what the key does. To retrieve its key-code invoke again repeat-complex-command and copy it out of the minibuffer for use in .emacs.

--
Greetings

  Pete

The human animal differs from the lesser primates in his passion for lists of "Ten Best".
                -- H. Allen Smith





reply via email to

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