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

2019-07-09 04:09发布

问题:

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