Skip to content

Instantly share code, notes, and snippets.

@zjrosen1
Last active July 9, 2022 14:44
Show Gist options
  • Save zjrosen1/cbe177966d17ae1770da to your computer and use it in GitHub Desktop.
Save zjrosen1/cbe177966d17ae1770da to your computer and use it in GitHub Desktop.
TMUX Aliases
alias ta='tmux attach -t'
alias tkss='tmux kill-session -t'
alias tksv='tmux kill-server'
alias tl='tmux list-sessions'
alias tmux=_zsh_tmux_plugin_run
alias ts='tmux new-session -s'
Bind Key
ctrl-a
Horizontal Split
ctrl-a \
Vertical Split
ctrl-a -
Moving Around
ctrl-a hjkl
Resize Around
ctrl-a HJKL move by 5 units
ctrl-a YUIO move by 1 unit
Make a new tab
ctrl-a c
Zoom into a pane
ctrl-a z
Detach from a session
ctrl-a d
Reattach
ta (name of the session)
Kill a session
tkss (name of the session)
Kill a pane
ctrl-a x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment