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-term but should be moved to helix-view. Moving commands to helix-view should 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.
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.