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

when in "help" mode q should just quit out of help #21

Closed
dustymabe opened this issue Oct 22, 2015 · 9 comments
Closed

when in "help" mode q should just quit out of help #21

dustymabe opened this issue Oct 22, 2015 · 9 comments

Comments

@dustymabe
Copy link

It should just quit out of the help and not the whole application.

@TomasTomecek
Copy link
Owner

x kills buffers, q quits whole app. In vim :q kills buffers, so you're right that this is a bit confusing.

Not sure if change the behavior or keep it the way it is.

@dustymabe
Copy link
Author

The tui I use the most is tig. In tig if I open "help" and press q it just closes the help. Come to think of it that is how it works with most "views" in tig. That would be my vote for user interface, but then again that doesn't allow you to have many different "views" open. I guess it is up to you.

@TomasTomecek
Copy link
Owner

I use tig too and you are right. Well at some point, bindings (and colors) will be configurable so this will be just a matter of configuration. In alot, d closes buffer and q quits the application, so that's where I was inspired most likely.

@dustymabe
Copy link
Author

cool. btw for alot is there a copr for that by chance?

@TomasTomecek
Copy link
Owner

Nope, it's packaged in Fedora: https://admin.fedoraproject.org/pkgdb/package/alot/

@jpopelka
Copy link

In my case it'd be sufficient if the help was saying something like 'remove buffer (like this help screen)' because I couldn't associate 'remove buffer' with what I was looking for.

@dustymabe
Copy link
Author

still hit this every time I go back to sen :)

@TomasTomecek
Copy link
Owner

@dustymabe to be honest, it's already done, but it's in my colosal-refactor branch, so this should be available sooner rather than later:
d5f35ab#diff-bf7821d5c013038b9e7d0bd3b360e613R42
d5f35ab#diff-68ed563bf187149952dc4275a3f57231R51

@TomasTomecek
Copy link
Owner

Available in 0.4.0.

🍺

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

No branches or pull requests

3 participants