Unable to bind HJKL to DLTH in Screen's C-A Esc -mode

五迷三道 提交于 2019-12-12 19:36:14

问题


I want my Zsh to be Dvorak friendly in Screen.

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.

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


回答1:


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

The following code makes Screen Dvorak friendly in .screenrc

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


来源:https://stackoverflow.com/questions/815915/unable-to-bind-hjkl-to-dlth-in-screens-c-a-esc-mode

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