GNU Screen: Changing Global Key-binding

自闭症网瘾萝莉.ら 提交于 2019-12-21 02:34:16

问题


I've recently started using screen in remote sessions. One problem is that emacs doesn't recognize its C-a and I don't want to bind emacs C-a to something else, as I'm very used to it.

Google shows ways to change every keybinding individually using ~/.screenrc but not how to change a keybinding globally. I want all C-a to change to something else. Is that possible? What are my options?

Thanks for your answers


回答1:


You can change the escape combination via escape in .screenrc:

# Makes Control+b become the escape combination
escape ^Bb

You can also just use Ctrl + a a to pass a Ctrl + a to the child process. You get used to it after a while.



来源:https://stackoverflow.com/questions/2084260/gnu-screen-changing-global-key-binding

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!