-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Move commands into the helix-view crate #5555
Copy link
Copy link
Open
Labels
A-guiArea: Helix gui improvementsArea: Helix gui improvementsC-enhancementCategory: ImprovementsCategory: ImprovementsE-mediumCall for participation: Experience needed to fix: Medium / intermediateCall for participation: Experience needed to fix: Medium / intermediate
Metadata
Metadata
Assignees
Labels
A-guiArea: Helix gui improvementsArea: Helix gui improvementsC-enhancementCategory: ImprovementsCategory: ImprovementsE-mediumCall for participation: Experience needed to fix: Medium / intermediateCall for participation: Experience needed to fix: Medium / intermediate
Type
Fields
Give feedbackNo fields configured for issues without a type.
This has been discussed before in #39 (comment) but it would be a large effort, so this issue focuses specifically on the change for moving commands into
helix-view.Commands currently exist in
helix-termbut should be moved tohelix-view. Moving commands tohelix-viewshould make it possible to switch between a terminal backend (helix-term) and a GUI backend. These changes may also help the macro keybindings effort (#4709) and fix some bugs with the command palette (#5294).The difficult part of this change is that the commands currently manipulate the UI directly for creating Pickers and other UI elements or setting callbacks. The Compositor may need to be refactored as a trait and then components can be implemented separately by TUI and GUI backends.