The Wayback Machine - https://web.archive.org/web/20200529134950/https://github.com/jonas/tig/issues/886
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

Fold up sections in help view by default #886

Open
stevenyvr987 opened this issue Jan 13, 2019 · 1 comment
Open

Fold up sections in help view by default #886

stevenyvr987 opened this issue Jan 13, 2019 · 1 comment

Comments

@stevenyvr987
Copy link
Contributor

@stevenyvr987 stevenyvr987 commented Jan 13, 2019

I notice the help view is organized into several sections:
[+] generic bindings
[+] search bindings
[+] main bindings
[+] diff bindings
[+] refs bindings
[+] status bindings
[+] stage bindings
[+] stash bindings
but they are unfolded by default, which leads to a lengthy screen (over 140 lines).

It would be useful to fold up all sections by default except for the section pertaining to the view mode I was just in. For example, if I was viewing refs and I issued the view-help command, then the help view would unfold only the refs bindings and keep all others folded up, unless I intentionally unfold any others.

@stevenyvr987
Copy link
Contributor Author

@stevenyvr987 stevenyvr987 commented May 16, 2019

Related to #782:

The keybinding screen should show the keybindings of the current view, then all the common keyboard bindings. It should hide all the key bindings that can't be used in the current view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.