mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 23:28:02 +00:00
Add Adjusting Window Pane Size as a tmux til.
This commit is contained in:
@@ -114,6 +114,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
|
|||||||
|
|
||||||
### tmux
|
### tmux
|
||||||
|
|
||||||
|
- [Adjusting Window Pane Size](tmux/adjusting-window-pane-size.md)
|
||||||
- [Create A Named tmux Session](tmux/create-a-named-tmux-session.md)
|
- [Create A Named tmux Session](tmux/create-a-named-tmux-session.md)
|
||||||
- [Cycle Through Layouts](tmux/cycle-through-layouts.md)
|
- [Cycle Through Layouts](tmux/cycle-through-layouts.md)
|
||||||
- [List All Key Bindings](tmux/list-all-key-bindings.md)
|
- [List All Key Bindings](tmux/list-all-key-bindings.md)
|
||||||
|
|||||||
15
tmux/adjusting-window-pane-size.md
Normal file
15
tmux/adjusting-window-pane-size.md
Normal 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.
|
||||||
Reference in New Issue
Block a user