Open tulilirockz opened 1 month ago
Hello!
Thanks for the idea, I usually implement this for my TUI projects (e.g. gpg-tui
) but didn't think it would be useful for binsider
. But I guess we should make it happen!
Commands are already available in command.rs
and it should be straightforward to implement.
This probably could be implemented with nushell's reedline crate.
Not sure if that's needed, since the input mechanism should be simple (enable prompt on :
and process the command when pressed enter).
Is your feature request related to a problem? Please describe.
It would be particularly interesting to have a vim command-like mode on this thing to make it so users can run specific commands without necessarily having a keybinding tied to it
Describe the solution you'd like
Having it so if
:
is pressed, open theCommand
mode, it would probably work just like vim! You would be able to just use other features, like, for example, if a single-tab mode would be implemented you could have asingle-tab-toggle
command, or if binary diffing were to be implemented, you would be able typediff foo.elf bar.elf
or whatever else. This probably could be implemented with nushell's reedline crate.