Freitag, 4. Januar 2013

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