Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better editing commands: cursor and navigation #336

Open
blame19 opened this issue May 6, 2024 · 3 comments
Open

Better editing commands: cursor and navigation #336

blame19 opened this issue May 6, 2024 · 3 comments

Comments

@blame19
Copy link

blame19 commented May 6, 2024

Editing a command can be tricky.

From my understanding, Ctrl+E activates the editing mode of a previously hoarded command, which is great. However, when down in Editing, it's not possible to see a cursor of any kind on the interface. Furthermore, the only actions supported seem to be:

  • deleting characters starting from the end of the line
  • writing from the end of the line
    (Feel free to correct me if I'm wrong)

Since hoard was born to store pretty complex commands, I can imagine in most use cases the stored commands are long. It would be inconvenient to cancel and retype an hoarded command during editing - an user might just as well delete and recreate it.
This can be solved by:

  • adding a cursor to the editing view
  • allowing navigation, so to pin-point edit
@Hyde46
Copy link
Owner

Hyde46 commented May 6, 2024

Great points, thanks a lot for your perspective!
I've planned to rewrite the UI anyways and will incorporate your input 🙂

@croissong
Copy link

Alternatively, I would prefer the option to simply edit the command in my $EDITOR :)

@Hyde46
Copy link
Owner

Hyde46 commented Jun 5, 2024

Great addition @croissong . Keeping that in mind, when i finally get some time to work on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants