To open a new screen, I have to do press Ctrl
+ a
, then c
, I often found it cumbersome. I would like to do this with only one shortcut, Alt
+ c
. Also, for moving to previous and next windows, I would like to do them with Alt
+ h
and Alt
+ l
. Is it possible?
1 Answer
bindkey \033c screen
bindkey \033h prev
bindkey \033l next
in ~/.screenrc
. That assumes terminals that send ESC followed by x
for Alt+X.
I have:
bindkey \033[6;5~ prev
bindkey \033[5;5~ next
For Ctrl+PageUp and Ctrl+PageDown (on most terminal emulators).