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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Tiny cheatsheet with examples built-in #14

Open
emilebosch opened this issue Sep 24, 2022 · 3 comments
Open

Feature Request: Tiny cheatsheet with examples built-in #14

emilebosch opened this issue Sep 24, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@emilebosch
Copy link

Since you're so great implementing my requested features I've got another one for you hahaha 馃槢
Would be cool to have a tiny cheatsheet built-in with common operations, when you press a hotkey for help.

You could maybe implement this by just rendering a markdown file with all the options, not sure if there is something fancy like that in this go lib. But I think it would be a quick win.

@noahgorstein noahgorstein added the enhancement New feature or request label Sep 24, 2022
@noahgorstein
Copy link
Owner

haha, I have done something like before for another project that I think could also work here. See https://github.com/noahgorstein/guard-dog#controls . There's a help menu that you can toggle open/close with ?. Do you think that'd suffice here?

@emilebosch
Copy link
Author

Yeah that will suffice I think. Think the ? character would be good, just not sure how it would react if your query also contains a ? you don't want to trigger a help dialog there I think then? Not sure if queries with ? are a common use case.CTRL+H from help could also be an option maybe?

@noahgorstein
Copy link
Owner

Yeah definitely doesn't need to be ?. We can pick something that won't get in the way of writing a query.

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

No branches or pull requests

2 participants