Personal tmux cheat sheet
The default tmux prefix
is ctrlb. You can remap it to anything you prefer. For simplicity sake later on it will be referred as prefix
Common
- prefix + t - display time in current pane
- prefix + d - detach from session
- prefix + ? - list shortcuts
- prefix + : - enter command mode
- prefix + [ - enter copy mode
- prefix + ] - paste last copied
- prefix + = - choose a paste buffers from already copied
Panes (splits)
- prefix + q - display name numbers
- prefix + x - kill pane
- prefix + space - toggle between pane layouts
- prefix + alt1-5 - use layout preset 1-5
- prefix + z - toggle pane to/from full screen mode
- prefix + ! - break pane into its own window
Windows (tabs)
- prefix + , - rename window
- prefix + c - create window
- prefix + & - kill window
Awkward defaults
- prefix + % - vertical split
- prefix + " - horizontal split