Skip to content

Keybindings

Assign keyboard shortcuts to Rift commands in the [keys] table.

Your [keys] table replaces the bundled keymap; an empty table registers no shortcuts.

Example
[keys]
"Alt + Z" = "toggle_space_activated"
"Alt + H" = { move_focus = "left" }
"Alt + Shift + H" = { move_node = "left" }
"Alt + 1" = { switch_to_workspace = 0 }
"Alt + Shift + Space" = "toggle_window_floating"

Simple commands are quoted strings. Commands that need a direction, workspace, amount, or other option use an inline table. See Keybindings for more commands.