GNU screen: move between regions

gnu-screen

I've started splitting window in GNU screen into different regions – rather than switching between windows.

Anyway, having split a window into 4 regions (2×2) it takes 3 C-a <Tab> to return focus to the original region. That is quite cumbersome…

Are there other keybindings to move up, down, left, right between regions?

I can't understand this: hitting C-a t gives me time, does not switch to top win.

Should I change keybindings?

Best Answer

screen commands for switching between regions are: actually focus up, focus down, focus right and focus left. To type these commands (or any other screen command, for that matter) you type C-a :focus up, for example.

These commands are tedious to type, that's why you must create key bindings in your ~/.screenrc file. Since I'm a Vim user I opted for these lines in my ~/.screenrc file:

bind j focus down
bind k focus up
bind l focus right
bind h focus left

To switch to the left region I type C-a h

Related Question