Skip to content

Instantly share code, notes, and snippets.

@john2x
Last active February 12, 2023 14:27
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save john2x/7541716 to your computer and use it in GitHub Desktop.
Save john2x/7541716 to your computer and use it in GitHub Desktop.

screenshot

(prefix == Ctrl+f)

Panes

Navigation

(vim movement keys)
prefix h
prefix j
prefix k
prefix l

Resizing

prefix shift+h (increase left side or decrease right side*)
prefix shift+j (increase bottom side or decrease top side*)
prefix shift+k (increase top side or decrease bottom side*)
prefix shift+l (increase right side or decrease left side*)
* depending on the current pane's position

Windows

Create/close window

prefix c (create new window)
prefix x (close current window)

Navigation

prefix n ([n]ext window)
prefix b (previous window a.k.a. [b]ack)

Splitting

prefix | (vertical split)
prefix _ (horizontal split)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment