In tmux can I resize a pane to an absolute value

前端 未结 5 2133
梦毁少年i
梦毁少年i 2021-01-29 21:10

Is it possible to tell tmux to \"resize a pane to 5 lines high\"?

I know I can do resize-pane -U 3 to move the dividing line, but sometimes when logging in

5条回答
  •  星月不相逢
    2021-01-29 22:07

    In tmux 1.8, the size of the panes may be adjusted interactively. Under the default key bindings this may be done by the prefix key (C-b) followed by the meta key combined with arrow keys (M-arrow), where arrow is one of the up/down/left/right arrow keys.

    E.g. Ctrl-b followed by Alt-Up will adjust the size upwards.

    Note that the Alt key may be held down while the up/down/left/right keys are pressed multiple times to make multiple adjustments.

    E.g. Ctrl-b followed by Alt-Up-Up-Left will adjust the size upwards by two movements and left by one movement.

提交回复
热议问题