Skip to main content

navigation

Function navigation 

Source
pub fn navigation(
    key: KeyEvent,
    _ctx: &mut InputCtx,
    state: &AppState,
) -> Option<Action>
Expand description

Translates a KeyEvent in Navigation Mode into an Action.

Configured bindings are resolved first from state.config.keymap. Built-in non-text fallbacks such as arrows, Enter, and Backspace are then checked. Multi-key sequences are represented by compact strings such as gg, ya, and dd.