Skip to content

Instantly share code, notes, and snippets.

@elithrade
Last active May 10, 2017 15:10
Show Gist options
  • Save elithrade/fafac72f6b14a568e15e81513b72a723 to your computer and use it in GitHub Desktop.
Save elithrade/fafac72f6b14a568e15e81513b72a723 to your computer and use it in GitHub Desktop.
My tmux keyboard shortcuts
<prefix> then c to create a new window
<prefix> then n to switch to the next window
<prefix> then , then [type something] then ⌤ to rename the current window
<prefix> then | to split the current window into panes vertically
<prefix> then - to split the current window into panes horizontally
<prefix> then q to show pane numbers, then (optionally) the number to switch to that pane
<prefix> then <shift> + (h, j, k, l) to resize the current pane up (works for all four arrows)
<prefix> then x to kill the current pane (or window if it only has one pane)
<prefix> then [ to enter copy mode, then h, j, k, l to move
<ctrl> + (h, j, k, l) to move the panes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment