Panes

Toggle last active pane

  • ctrl+b ;

Split the current pane with a vertical line to create a horizontal layout

  • :split-window -h
  • ctrl+b %

Split the current with a horizontal line to create a vertical layout

  • :split-window -v
  • ctrl+b "

Join two windows as panes (Merge window 2 to window 1 as panes)

  • :join-pane -s 2 -t 1

Move pane from one window to another (Move pane 1 from window 2 to pane after 0 of window 1)

  • :join-pane -s 2.1 -t 1.0

Move the current pane left

  • ctrl+b {

Move the current pane right

  • ctrl+b }

Switch to pane to the direction

  • ctrl+b up
  • ctrl+b down
  • ctrl+b left
  • ctrl+b right

Toggle synchronize-panes(send command to all panes)

  • :setw synchronize-panes

Toggle between pane layouts

  • ctrl+b spacebar

Switch to next pane

  • ctrl+b o

Show pane numbers

  • ctrl+b q

Switch/select pane by number

  • ctrl+b 0 .. 9

Toggle pane zoom

  • ctrl+b z

Convert pane into a window

  • ctrl+b !

Resize current pane height(holding second key is optional)

  • ctrl+b+up
  • ctrl+b ctrl+up
  • ctrl+b+down
  • ctrl+b ctrl+down

Resize current pane width(holding second key is optional)

  • ctrl+b+right
  • ctrl+b ctrl+right
  • ctrl+b+left
  • ctrl+b ctrl+left

Close current pane

  • ctrl+b x