Skip to main content

bindings

Function bindings 

Source
pub fn bindings() -> Vec<KeyBinding>
Expand description

The bar’s keymap, as data, so an app can have it without having to take it — see crate::keys for layering over it or taking a chord away.

left/right cross between menus and up/down walk the rows, which is the one arrangement every platform’s menubar agrees on. With a submenu in reach they open and close it first, and only cross once there is no level left to move through. Nothing claims alt to focus the bar: that is a Windows convention, and a component library that binds a chord it is unsure of takes it away from every app downstream.