Skip to content

Instantly share code, notes, and snippets.

@philly-mac
Created January 23, 2013 03:30
Show Gist options
  • Save philly-mac/4601661 to your computer and use it in GitHub Desktop.
Save philly-mac/4601661 to your computer and use it in GitHub Desktop.
List of tmux commands and descriptions
start a new session tmux OR
tmux new OR
tmux new-session
re-attach a detached session tmux attach OR
tmux attach-session
re-attach an attached session (detaching it from elsewhere) tmux attach -d OR
tmux attach-session -d
re-attach an attached session (keeping it attached elsewhere) tmux attach OR
tmux attach-session
detach from currently attached session ^b d OR
^b :detach
rename-window to newname ^b , <newname> OR
^b :rename-window <newname>
list windows ^b w
list windows in chooseable menu
go to window # ^b #
go to last-active window ^b l
go to next window ^b n
go to previous window ^b p
see keybindings ^b ?
list sessions ^b s OR
tmux ls OR
tmux list-sessions
toggle visual bell
create another shell ^b c
exit current shell ^d
split pane horizontally ^b "
split pane vertically ^b %
switch to another pane ^b o
kill the current pane ^b x OR (logout/^D)
close other panes except the current one ^b !
swap location of panes ^b ^o
show time ^b t
show numeric values of panes ^b q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment