You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 the Command 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 a single-tab-toggle command, or if binary diffing were to be implemented, you would be able type diff foo.elf bar.elf or whatever else. This probably could be implemented with nushell's reedline crate.
The text was updated successfully, but these errors were encountered:
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).
orhun
changed the title
vim-like command mode
Vim-like command mode
Oct 4, 2024
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.The text was updated successfully, but these errors were encountered: