Skip to main content

handle_key

Function handle_key 

Source
pub fn handle_key<E: Editor>(
    state: &mut VimState,
    editor: &mut E,
    clipboard: &mut String,
    key: &KeyEvent,
) -> HandleKeyOutcome
Expand description

Apply a single key event to the Vim state and editor surface.