Skip to main content

parse_motion

Function parse_motion 

Source
pub fn parse_motion(input: &Input) -> Option<Motion>
Expand description

Parse the first key of a normal/visual-mode motion. Returns None for keys that don’t start a motion (operator keys, command keys, etc.). Promoted to pub in Phase 6.6e so hjkl-vim::normal can call it.