问题
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