开发者

GNU Screen: Changing Global Key-binding

开发者 https://www.devze.com 2022-12-16 21:53 出处:网络
I\'ve recently started using screen in remote sessio开发者_如何学编程ns.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

I've recently started using screen in remote sessio开发者_如何学编程ns. 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


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.

0

精彩评论

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

关注公众号