Skip to content

Binding modes

Create named keymaps for workflows such as resizing windows.

[keys] is the default mode. A custom mode replaces it until a binding switches back to default; unbound keys pass through to the foreground app.

Example
[keys]
"Alt + R" = { binding_mode = "resize" }
[binding_modes.resize]
"H" = { resize_window_shrink = "horizontal" }
"L" = { resize_window_grow = "horizontal" }
"Escape" = { binding_mode = "default" }

Mode names can be any TOML key. The default mode is reserved and is defined by [keys].