Skip to content

FEATURE: When help window is open, do not completely close neotree when q is pressed  #1349

@rafamadriz

Description

@rafamadriz

Did you check the docs?

  • I have read all the docs.

Is your feature request related to a problem? Please describe.

It is something really small but I found it extremely annoying, whenever I open the help window (?) to check something quick, I press q out of muscle memory to close that floating window, but it completely closes neotree and I have to open it again to continue with what I was doing.

q Is kinda like the standard key to close floating ui's (most other plugins and neotree itself use it for that purpose), but in this case I believe it makes sense to only close the help window when it is open and, not the entire neotree window.

I did look into the code to do a PR myself but got the impression that is not as simple as I initially thought (or maybe it is simple and I'm just stupid). Anyway if you think this makes sense and I get some indications, I'll be happy to do it.

Describe the solution you'd like.

Do not close the entire neotree window when q is pressed and the help window is open

Describe alternatives you've considered.

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgauging-interestThis will happen if enough people express interest in this feature.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions