add tmux commands

This commit is contained in:
onceupon 2018-11-08 15:00:32 +08:00 committed by GitHub
parent 8f3874d158
commit 0b185df5d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2611,6 +2611,10 @@ Send command to all panes in tmux:
```bash ```bash
Ctrl-B Ctrl-B
:setw synchronize-panes :setw synchronize-panes
```
Some tmux pane control commands:
```bash
Ctrl-B
# Panes (splits), Press Ctrl+B, then input the following symbol: # Panes (splits), Press Ctrl+B, then input the following symbol:
# % horizontal split # % horizontal split
@ -2619,6 +2623,17 @@ Ctrl-B
# q show pane numbers # q show pane numbers
# x kill pane # x kill pane
# space - toggle between layouts # space - toggle between layouts
# Distribute Vertically (rows):
select-layout even-vertical
# or
Ctrl+b, Alt+2
# Distribute horizontally (columns):
select-layout even-horizontal
# or
Ctrl+b, Alt+1
``` ```
##### Cut the last column ##### Cut the last column
```bash ```bash