Skip to content

Default shortcuts

This page lists every built-in shortcut. They apply when there is no config file, and each one stays in force until your config file changes it or switches it off.

In a shortcut, alt is the Option (⌥) key. ctrl is Control (⌃), shift is Shift (⇧) and cmd is Command (⌘).

The direction keys follow the convention of the Vi editor: h is left, j is down, k is up and l is right.

Keys Written as Command
alt+h alt-h focus left
alt+j alt-j focus down
alt+k alt-k focus up
alt+l alt-l focus right

At the edge of the layout, move continues onto the next display.

Keys Written as Command
alt+shift+h alt-shift-h move left
alt+shift+j alt-shift-j move down
alt+shift+k alt-shift-k move up
alt+shift+l alt-shift-l move right
Keys Written as Command
alt+ctrl+h alt-ctrl-h join left
alt+ctrl+j alt-ctrl-j join down
alt+ctrl+k alt-ctrl-k join up
alt+ctrl+l alt-ctrl-l join right
Keys Written as Command What it does
alt+minus alt-minus resize shrink Shrink the window.
alt+equal alt-equal resize grow Grow the window.
alt+slash alt-slash flip Flip the container between side-by-side and stacked.
alt+f alt-f zoom Make the window fill the desktop, or put it back.
alt+shift+space alt-shift-space float Float the window, or tile it again.
alt+shift+b alt-shift-b balance Give every window an equal share.

minus is the - key, equal is the = key and slash is the / key.

Keys Written as Command
alt+1 alt-1 space 1
alt+2 alt-2 space 2
alt+3 alt-3 space 3
alt+4 alt-4 space 4
alt+5 alt-5 space 5
alt+6 alt-6 space 6
alt+7 alt-7 space 7
alt+8 alt-8 space 8
alt+9 alt-9 space 9

These take the focused window to the desktop and go with it. Add --stay to the command to send the window away and stay where you are.

Keys Written as Command
alt+shift+1 alt-shift-1 move-to-space 1
alt+shift+2 alt-shift-2 move-to-space 2
alt+shift+3 alt-shift-3 move-to-space 3
alt+shift+4 alt-shift-4 move-to-space 4
alt+shift+5 alt-shift-5 move-to-space 5
alt+shift+6 alt-shift-6 move-to-space 6
alt+shift+7 alt-shift-7 move-to-space 7
alt+shift+8 alt-shift-8 move-to-space 8
alt+shift+9 alt-shift-9 move-to-space 9

These commands exist but are not bound to keys: close, pause, reload, quit, space next, space prev, move-to-space next, move-to-space prev, and resize with width or height. Customising shortcuts shows how to bind them.

  • Drag a tiled window onto another to swap them.
  • Drag the edge of a tiled window to resize it. The layout keeps the new proportions.