Skip to main content

register_refreshable_view_actions

Function register_refreshable_view_actions 

Source
pub fn register_refreshable_view_actions(registry: &mut CommandRegistry)
Expand description

Register action:view-refresh so the mode’s keymap cmd name resolves at boot.

The apply body is a dead Effect::None, like repl-mode‘s: the host intercepts this CommandId in chord dispatch, resolves the active modes’ declared refresh action, and dispatches that — so this body never runs. It exists so the CommandId resolves for the chord binding.