Skip to content

Instantly share code, notes, and snippets.

@pabloab
Last active March 14, 2019 02:09
Show Gist options
  • Save pabloab/352d1a99f4bea5b243c966da2eb32a49 to your computer and use it in GitHub Desktop.
Save pabloab/352d1a99f4bea5b243c966da2eb32a49 to your computer and use it in GitHub Desktop.
Some useful tmux / Byobu shortcuts

Cheatsheet: byobu and tmux commands

Of course Ctrl+s should be replaced with your preffix shortcut.

Window-related

Shortcut Description
Ctrl+s 0 Switch to window 0 (similarly, any other numbered window).
Ctrl+s c Create a new window.
Ctrl+s n Switch to the next window.
Ctrl+s p Switch to the previous window.
Ctrl+s w Choose a window from a list.

Pane-related

Shortcut Description
Ctrl+s % Split pane vertically.
Ctrl+s | Split pane horizontally.
Ctrl+s o Switch focus to next pane.
Ctrl+s ; Switch focus to the previous pane.
Ctrl+s ! Move current pane to a new window.
Ctrl+s x Kill the current pane.

Miscellaneous

Shortcut Description
Ctrl+s ? Show currently configured keys.
Ctrl+s : Enter the command prompt (for tmux commands)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment