Skip to main content

register_syntax_motions

Function register_syntax_motions 

Source
pub fn register_syntax_motions(
    registry: &mut CommandRegistry,
) -> SyntaxMotionIds
Expand description

Register the sixteen structural motions on registry. Call once at boot (after the builtin grammar is registered); thread the returned ids into the keymap binder. Calling twice registers duplicates, so call exactly once.