From: Mike Mattie <codermattie@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: rebinding ESC key
Date: Tue, 6 Nov 2007 00:48:49 -0800 [thread overview]
Message-ID: <20071106004849.0b023e7a@reforged> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 545 bytes --]
Hello,
I would like to rebind the ESC key to execute a single function on a key-press. A simple mapping like this:
(global-set-key kdb("<ESC>") 'execute-extended-command)
I found that when I successfully bound the key that many of the essential bindings such as "M-" were broken.
I am assuming that M- is some sort of alias to ESC for compatibility. (which has been handy on weird terminals
such as screen).
How do I map the ESC key without altering M- bindings ?
sorry if this is a FAQ, I did google.
Cheers,
Mike Mattie
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
next reply other threads:[~2007-11-06 8:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-06 8:48 Mike Mattie [this message]
2007-11-06 10:25 ` rebinding ESC key Peter Dyballa
2007-11-07 7:40 ` Kevin Rodgers
2007-11-07 13:35 ` Mike Mattie
[not found] ` <mailman.3078.1194421225.18990.help-gnu-emacs@gnu.org>
2007-11-10 20:13 ` don provan
2007-11-10 21:05 ` Amy Templeton
2007-11-11 10:50 ` B. Smith-Mannschott
[not found] <mailman.3032.1194339074.18990.help-gnu-emacs@gnu.org>
2007-11-07 19:06 ` Johan Bockgård
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071106004849.0b023e7a@reforged \
--to=codermattie@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).