views:

93

answers:

1

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?

+2  A: 

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
Greg Hewgill
Thank you for your answer!
Masi