Skip to content

Mappings/functionality discoverability discussion #2710

Open
@gegoune

Description

@gegoune

Since you touched on a topic of keybindings, currently it's hard to get a sense of what's possible.

  1. The help panel is hidden under "g?" keybinding by default, and only when nvim-tree updated its way to change keybindings, I discovered that there's a help panel (I was smashing ? and since it did nothing, I just assumed there's no help panel).
  2. As a user, you think everything useful (or even possible) is in this panel.

So I think the ideal solution would be to:

  1. Make it clear that g? is a default help panel keybinding. Show "g? - help" somewhere in nvim-tree panel or make it visible in readme.
  2. Show every possible API command in this help panel, even if it has no keybinding + keybinding if there's one
  3. Since there are lots of commands, it would be great to group them

This way, you can have minimal keybinding config and it will be extremely easy to copy-paste api function to your on_attach without reading :h nvim-tree

Originally posted by @DeH4er in #2706 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions