开发者

emacs: remapping C-[ (currently ESC)

开发者 https://www.devze.com 2023-01-11 10:13 出处:网络
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,

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).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号