emacs: remapping C-[ (currently ESC)
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?
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.
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
).
精彩评论