Skip to main content

classify_nvim_key

Function classify_nvim_key 

Source
pub fn classify_nvim_key(
    pending_z: bool,
    key: &KeyEvent,
    mode: &EditorMode,
    cmdline: Option<&str>,
) -> NvimKeyDecision
Expand description

Decide what a key does on the Nvim backend. Pure: depends only on the pending-Z flag, the key, the current mode, and the command line.