无法在Screen的C-A Esc模式下将HJKL绑定到DLTH [英] Unable to bind HJKL to DLTH in Screen's C-A Esc -mode

查看:84
本文介绍了无法在Screen的C-A Esc模式下将HJKL绑定到DLTH的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望我的Zsh在Screen中对Dvorak友好.

I want my Zsh to be Dvorak friendly in Screen.

我正在尝试在Zsh中进行以下绑定,以便可以在移动时以Ctl-a Esc模式使用它们

I am trying to make the following bindings in Zsh such that I can use them in Ctl-a Esc mode in moving

h => d
j => l
k => t
l => n

我还没有找到任何方法.

I have not yet found any ways to do that.

如何在屏幕中进行以下按键绑定,以便我可以在C-A Esc模式下使用它们?

How can you make the following keybindings in Screen, such that I can use them in the mode C-A Esc?

推荐答案

屏幕具有

Screen has a markkeys configuration option that lets you remap the keys used in scrollback mode.

以下代码使Screen Dvorak在.screenrc中变得友好

The following code makes Screen Dvorak friendly in .screenrc

 markkeys h=d:j=h:k=t:l=n 

这篇关于无法在Screen的C-A Esc模式下将HJKL绑定到DLTH的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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