Skip to content

Expose DEFAULT_KEYMAPS And Current Mappings #1858

@hinell

Description

@hinell

I requet to export default keymapping to ensure stable api .e.g.:

local   keymaps = require("nvim-tree").DEFAULT_KEYMAPS
...

Can this functionality be implemented utilising API?

  • Well, it can, but the following is not guaranteed to be stable:
require("nvim-tree.keymap").keymaps

Note The callbacks should be exported explicitly!

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIAPI or Event

    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