From 0122a71fcef14e457199e42949c14f854b0a3405 Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Sun, 23 Oct 2022 15:01:58 +1100 Subject: [PATCH] doc(#1655): add roadmap and expand on API/events/actions (#1666) * doc(#1655): add roadmap and expand on API/events/actions * doc(#1655): add roadmap and expand on API/events/actions --- README.md | 37 +++++++++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2a935fb0..5c51fc42 100644 --- a/README.md +++ b/README.md @@ -103,16 +103,45 @@ Basic commands: `:NvimTreeCollapse` Collapses the nvim-tree recursively. -## Api - -nvim-tree exposes a public api; see [:help nvim-tree-api](doc/nvim-tree-lua.txt). This is a stable non breaking api. - ## Mappings nvim-tree comes with number of mappings; for default mappings please see [:help nvim-tree-default-mappings](doc/nvim-tree-lua.txt), for way of configuring mappings see [:help nvim-tree-mappings](doc/nvim-tree-lua.txt) `g?` toggles help, showing all the mappings and their actions. +## Roadmap + +nvim-tree is stable and new major features will not be added. The focus is on existing user experience. + +Users are encouraged to add their own custom features via the public [API](#api). + +Development is focused on: +* Bug fixes +* Performance +* Quality of Life improvements +* API / Events +* Enhancements to existing features + +## API + +nvim-tree exposes a public API. This is non breaking, with additions made as necessary. + +Please raise a [feature request](https://github.com/nvim-tree/nvim-tree.lua/issues/new?assignees=&labels=feature+request&template=feature_request.md&title=) if the API is insufficent for your needs. [Pull requests](#contributing) are always welcome. + +[:help nvim-tree-api](doc/nvim-tree-lua.txt) + +### Events + +Users may subscribe to events that nvim-tree will dispatch in a variety of situations. + +[:help nvim-tree-events](doc/nvim-tree-lua.txt) + +### Actions + +Custom actions may be mapped which can invoke API or perform your own actions. + +[:help nvim-tree-mappings](doc/nvim-tree-lua.txt) + ## Tips & tricks * You can add a directory by adding a `/` at the end of the paths, entering multiple directories `BASE/foo/bar/baz` will add directory foo, then bar and add a file baz to it.