Skip to main content

default_keymap

Function default_keymap 

Source
pub fn default_keymap() -> Keymap<Action>
Available on crate feature command only.
Expand description

The default command shortcuts:

The list handles these itself while its search field has focus, so Home and End move the highlight rather than the text cursor. Pass a changed keymap with Command::keymap. To use them without focus, resolve presses from keys::subscription and send Action::event to the state.