diff --git a/README.md b/README.md index ec505be..45e8471 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/tmux/adjusting-window-pane-size.md b/tmux/adjusting-window-pane-size.md new file mode 100644 index 0000000..091b38e --- /dev/null +++ b/tmux/adjusting-window-pane-size.md @@ -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.