feat(api): add api.config.mappings.active, api.config.mappings.default (#1876)

* feat(api): add config.mappings.current and config.mappings.default

* feat(api): add config.mappings.current and config.mappings.default

* feat(api): add config.mappings.current and config.mappings.default
This commit is contained in:
Alexander Courtis
2023-01-03 13:13:49 +11:00
committed by GitHub
parent cdbd7daf29
commit bac962caf4
3 changed files with 30 additions and 0 deletions

View File

@@ -1335,6 +1335,20 @@ exists.
- navigate.prev
- navigate.select
api.config.mappings.active() *nvim-tree.api.config.mappings.active()*
Retrieve a clone of the currently active mappings:
|nvim-tree-default-mappings| with |nvim-tree.view.mappings| applied.
Changing the active mappings will require a call to |nvim-tree-setup|
Return: ~
(table) as per |nvim-tree.view.mappings.list|
api.config.mappings.default() *nvim-tree.api.config.mappings.default()*
Retrieve a clone of the default mappings: |nvim-tree-default-mappings|
Return: ~
(table) as per |nvim-tree.view.mappings.list|
==============================================================================
6. MAPPINGS *nvim-tree-mappings*