tmux cheatsheet

tmux is a kind of terminal multiplexer - similar to GNU screen, but with additional features.

Command-line parameters

 new -s create a new session with name

Examples

tmux lsList running sessions
tmux new -s vimStart a new session named "vim"

Keyboard Shortcuts

Ctrl+bPrefix
Prefix c Create window
Prefix , Rename window
Prefix n Next window
Prefix pPrevious window
Prefix <n>Window #n (n between 0 and 9)
Prefix fFind window by name
Prefix wWindow list
Prefix %Split pane vertically
Prefix "Split pane horizontally
Prefix oCycle through panes
Prefix up/down/left/rightMove around panes

== Copy/paste use <prefix> + z to toggle fullscreen mode for the pane; then, you can use mouse selection as usual.


229 Words

2013-01-04T09:06:00.001-08:00