From man screen
, which is really what you need to read if you want to do any screen
hacking:
resize
Resize the current region. The space will be removed from or added to
the region below or if there's not enough space from the region above.
resize +N increase current region height by N
resize -N decrease current region height by N
resize N set current region height to N
resize = make all windows equally high
resize max maximize current region height
resize min minimize current region height
screen
isn't vim
- trying to copy the exact same keybindings will give you some
funky behaviour. In this case, it'd just be a real PITA.
bind -c resize24 + resize +24
bind -c resize24 - resize -24
bind -c resize24 ^M resize 24
bind -c resize2 4 command -c resize24
bind 2 command -c resize2
You'd have to do that for every number that you wanted to use. So don't do that. Learn to use ^A:resize
, instead.