Skip to content

Instantly share code, notes, and snippets.

@malefficient
Forked from RichardBronosky/.tmux.conf
Created August 23, 2019 03:49
Show Gist options
  • Save malefficient/4716fee3d66b131ca4136ef620fe105b to your computer and use it in GitHub Desktop.
Save malefficient/4716fee3d66b131ca4136ef620fe105b to your computer and use it in GitHub Desktop.
TMUX cheat sheet

TMUX cheat sheet

Standard Bindings

Ctrl+b, Ctrl+[ Enter copy mode Ctrl+b, Ctrl+] Paste buffer

Modified Bindings

Misc

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