Skip to content

Instantly share code, notes, and snippets.

@koorgoo
Created February 21, 2014 15:50
Show Gist options
  • Save koorgoo/9136710 to your computer and use it in GitHub Desktop.
Save koorgoo/9136710 to your computer and use it in GitHub Desktop.
tmux new-session = tmux new
tmux new -s <session_name> -n <first_window_name>
Prefix $ # rename session
Prefix d # detach from session
tmux attach -t <session_name>
Prefix : # enter command mode
Prefix c # new window in current session (!)
Prefix 0..9 # switch window by index
Prefix w # selectable window list
Prefix , # show promt to rename window (!)
Prefix & # close window (!)
Prefix % # devide vertically
Prefix " # horizontally (!)
Prefix o # cycle through panes
Prefix q # show pane numbers for a moment
Prefix x # close the current pane (!)
Prefix Space # cycle through layouts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment