ulyssa / modalkit

A Rust library for building modal editing applications
Apache License 2.0
49 stars 5 forks source link

Beginner-friendliness inspiration from zellij and helix #142

Open jennydaman opened 2 months ago

jennydaman commented 2 months ago

I have feature requests which would be a lot of work, but much desirable.

Two other Rust projects which implement a tiling window system in the terminal are zellij, a terminal multiplexer, and helix, a vim-inspired text editor. I think these projects are good inspiration for how to achieve beginner-friendliness in a keyboard-driven application.

Here is a screenshot showing helix in zellij:

image

Feature request: Common hotkey hints in bottom bar

Add a bar at the bottom (or top) which shows status and/or commonly used hotkey combinations. These combinations should be context-dependent, meaning the hotkey combinations shown are relevant to whichever pane is currently focused.

Feature request: Autocompletion of commands

Show a list of valid commands and command parameters after :, and a description of the currently typed command.

Feature request: Key combination hints

image

For vim keybinds which require multiple keys to be pressed, show a popup menu of valid second key press options.

jennydaman commented 2 months ago

Also worth mentioning that zellij and helix have good mouse support... though IMO if someone wanted mouse support they'd use Element instead of iamb...