| Key | Description |
|---|---|
| CTRL A | Prefix |
| M | Edit .tmux.conf |
| r | Reload .tmux.conf |
| v | Edit .vimrc.local |
| h | Edit .zshrc |
| u | Reload .zshrc |
| F | Toggle between smallest and largest sizes if a windows is visible in multiple places |
| m | Monitor activity |
| y | Toggle synchronize panes |
set -g prefix C-a
unbind C-b
bind C-a send-prefix
Press CTRL + a, ? for the full list of set keyboard shortcuts
bind-key M split-window -h "vim ~/.tmux.conf"
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded"
bind-key v split-window -h "vim ~/.vimrc.local"
bind-key h split-window -h "vim ~/.zshrc"
bind-key u source-file ~/.zshrc \; display-message "~/.zshrc reloaded"
bind F set -w window-size
bind m set monitor-activity
bind y set synchronize-panes\; display 'synchronize-panes #{?synchronize-panes,on,off}'
- Press
CTRL + a, [to enter copy mode. - Move to start/end of text to highlight.
- Press
CTRL + Space. - Move to opposite end of the text you want to copy.
ALT + wCopies selected text into the tmux clipboard. In MacOS, useESC + w. TryEnterif none of the above works.- Move cursor to opposite tmux pane, or completely different tmux window. Put the cursor where you want to paste the text you just copied.
- Press
CTRL +b, ]to paste copied text from tmux clipboard.