![]() ( global-set-key ( kbd "") nil) good idea to put nil to the starting key ![]() Key Sequence Example of single key sequence Super and Hyper KeysĮmacs: How to Bind Super Hyper Keys. (info "(elisp) Function Keys") Menu/App KeyĮmacs: Bind Menu/App Key. ( global-set-key ( kbd "") ' backward-char) Enter/Return key while in gui emacs (usually auto translated to RET) ( global-set-key ( kbd "RET") ' backward-char) Enter/Return key ( global-set-key ( kbd "SPC") ' backward-char) Space key ( global-set-key ( kbd "DEL") ' backward-char) backspace key ⌫ ( global-set-key ( kbd "") ' backward-char) down arrow ( global-set-key ( kbd "") ' backward-char) up arrow ( global-set-key ( kbd "") ' backward-char) right arrow ( global-set-key ( kbd "") ' backward-char) left arrow ( global-set-key ( kbd "") ' backward-char) page up key ( global-set-key ( kbd "") ' backward-char) page down key ( global-set-key ( kbd "") ' backward-char) ( global-set-key ( kbd "") ' backward-char) Del key ⌦ (forward delete) ( global-set-key ( kbd "") ' backward-char) Ins key ( global-set-key ( kbd "") ' backward-char) the 3 key on number pad ( global-set-key ( kbd "") ' backward-char) F3 key ( global-set-key ( kbd "C-a") ' backward-char) Ctrl+a Function keys ![]() ( global-set-key ( kbd "M-a") ' backward-char) Alt+a Replace it with the command name you want. In the following, the backward-char is a example command. For details of emacs's keystroke syntax variation, see: Emacs Key Syntax Explained.) Examples (Note: emacs has lot syntax variations for a given keyboard shortcut, but the one printed by describe-key is guaranteed to work. That means, you can use (kbd "") to represent that key combination in lisp code. ![]() Key sequence can be a single key, or any sequence with modifier keys.įor example, suppose you want to know the syntax for the key press of Ctrl+ Alt+ F8.Īlt+ x describe-key, then press Ctrl+ Alt+ F8, then emacs will print Prompt user to type a key sequence, and display the key syntax and command bound to it, if any. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |