Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
TMUX cheat sheet
setw -g mode-keys vi

TMUX cheat sheet

Standard Bindings

Binding Mode Action
Ctrl+b, : default Enter command mode/prompt
Ctrl+b, Ctrl+[ default Enter copy mode
Ctrl+b, Ctrl+] default Paste buffer

Modified Bindings


SSH agent forwarding in recycled tmux session

sed -i '/SSH_AUTH_SOCK/d' ~/vars.txt; echo -n 'export ' >> ~/vars.txt; env | grep -i sock >> ~/vars.txt; tmux attach || tmux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.