Skip to main content

register_insert_bindings

Function register_insert_bindings 

Source
pub fn register_insert_bindings(handle: &KeymapHandle, actions: &ActionIds)
Expand description

Register every chord the legacy input::translate_insert recognised into the supplied handle’s Builtin layer under BindingMode::Insert. Called at App startup.

<C-x> is registered implicitly: inserting [<C-x>, <C-o>] at depth 2 makes the depth-1 lookup of [<C-x>] return LookupResult::Partial. Same for [<C-x>, <C-s>].