Skip to content

Instantly share code, notes, and snippets.

View elithrade's full-sized avatar

Bin Hu elithrade

  • Perth, Western Australia
View GitHub Profile
@elithrade
elithrade / tmux-keyboard-shortcuts
Last active May 10, 2017 15:10
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