tmux cheatsheet
tmux is a kind of terminal multiplexer - similar to GNU screen, but with additional features.
Command-line parameters
new -sExamples
| tmux ls | List running sessions |
| tmux new -s vim | Start a new session named "vim" |
Keyboard Shortcuts
| Ctrl+b | Prefix |
| Prefix c | Create window |
| Prefix , | Rename window |
| Prefix n | Next window |
| Prefix p | Previous window |
| Prefix <n> | Window #n (n between 0 and 9) |
| Prefix f | Find window by name |
| Prefix w | Window list |
| Prefix % | Split pane vertically |
| Prefix " | Split pane horizontally |
| Prefix o | Cycle through panes |
| Prefix up/down/left/right | Move around panes |
== Copy/paste
use <prefix> + z to toggle fullscreen mode for the pane; then, you can use mouse selection as usual.