Reputation: 1132
I'm using emacs 23 on ubuntu 10.04. I would like to remap the "C-[" binding. Currently, when I press it, it gives me "ESC". Is there a way to remap it?
Upvotes: 0
Views: 892
Reputation: 30718
C-[
is the ASCII ESCAPE character, which Emacs usually writes as ESC
.
There is no key involved here (it's a character), and there is no key binding involved here. Or rather, your keyboard's Escape key sends the control character ESCAPE (also written C-[
and ESC
).
Upvotes: 0
Reputation: 56665
This is not an Emacs binding, but has global effect in X and it's used as handier substitute for ESC for people practicing touch typing. I guess you'll have to modify the X keymap if you want to use it in another fashion, but I wouldn't advice that.
Upvotes: 2