Skip to content

Fold up sections in help view by default #886

@stevenyvr987

Description

@stevenyvr987

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions