GNU屏幕:更改全局键绑定 [英] GNU Screen: Changing Global Key-binding

查看:49
本文介绍了GNU屏幕:更改全局键绑定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近开始在远程会话中使用屏幕。一个问题是emacs无法识别其Ca,并且我不想将emacs Ca绑定到其他对象,因为我已经很习惯了。

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显示了使用〜/ .screenrc单独更改每个键绑定的方法,但没有介绍如何全局更改键绑定的方法。我希望所有C-a都更改为其他内容。那可能吗?我有什么选择?

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?

感谢您的回答

推荐答案

您可以通过 .screenrc 中的 escape 来更改转义组合:

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

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

您也可以只使用 Ctrl + a a 来传递 Ctrl + a 到子进程。一段时间后,您会习惯它。

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.

这篇关于GNU屏幕:更改全局键绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆