Expand description
Leap motion plugin for reovim
This plugin provides two-character jump navigation (like leap.nvim/hop.nvim).
§Architecture Note
Commands emit EventBus events that are handled by the runtime.
Uses PluginStateRegistry for state management.
Structs§
- Leap
Backward Command - Leap backward command - starts leap mode searching backward
- Leap
Cancel Command - Leap cancel command - exits leap mode without jumping
- Leap
Cancel Event - Event emitted when leap mode is cancelled
- Leap
First Char Event - Event emitted when first character is entered
- Leap
Forward Command - Leap forward command - starts leap mode searching forward
- Leap
Jump Event - Event emitted when a leap jump occurs
- Leap
Match - A single match position with its assigned label
- Leap
Matches Found Event - Event emitted when matches are found
- Leap
Plugin - Leap motion plugin
- Leap
Plugin Window - Plugin window for leap labels
- Leap
Second Char Event - Event emitted when second character is entered
- Leap
Select Label Event - Event emitted when a label is selected to jump
- Leap
Start Event - Event emitted when leap mode starts
- Leap
Start Handler - Handler for starting leap mode
- Leap
State - State for the leap motion feature
- Leap
Styles - Leap styles for rendering
Enums§
- Leap
Direction - Direction of leap search
- Leap
Phase - Phase of the leap interaction
Constants§
- COMPONENT_
ID - Component ID for leap (used in sub-mode)
- LEAP_
BACKWARD - Command ID for leap backward
- LEAP_
CANCEL - Command ID for leap cancel
- LEAP_
FORWARD - Command ID for leap forward
Functions§
- find_
matches - Find all matches of a two-character pattern in buffer lines
- generate_
labels - Generate labels for a given number of matches
- leap_
start_ result - Helper to create a
CommandResult::Deferredfor leap start