1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00

Add Adjusting Window Pane Size as a tmux til.

This commit is contained in:
jbranchaud
2015-07-22 21:48:55 -07:00
parent 6476b5533e
commit 5260685d6f
2 changed files with 16 additions and 0 deletions

View File

@@ -114,6 +114,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
### tmux
- [Adjusting Window Pane Size](tmux/adjusting-window-pane-size.md)
- [Create A Named tmux Session](tmux/create-a-named-tmux-session.md)
- [Cycle Through Layouts](tmux/cycle-through-layouts.md)
- [List All Key Bindings](tmux/list-all-key-bindings.md)

View File

@@ -0,0 +1,15 @@
# Adjusting Window Pane Size
In tmux, the size of window panes can be adjusted incrementally with the
`resize-pane` command. For instance, to resize a pane in any direction
(left, down, up, and right), use one of the following commands
```
resize-pane -L 10
resize-pane -D 10
resize-pane -U 10
resize-pane -R 10
```
This will adjust the pane by *10* units in the corresponding direction. Of
course, other values can be used for more significant size adjustments.