You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-30Lines changed: 12 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -40,9 +40,11 @@ Please install via your preferred package manager. See [Installation](https://gi
40
40
41
41
`nvim-tree/nvim-web-devicons` optional, for file icons
42
42
43
+
Disabling [netrw](https://neovim.io/doc/user/pi_netrw.html) is strongly advised, see [:help nvim-tree-netrw](doc/nvim-tree-lua.txt)
44
+
43
45
## Quick Start
44
46
45
-
Disabling [netrw](https://neovim.io/doc/user/pi_netrw.html) is strongly advised, see [:help nvim-tree-netrw](doc/nvim-tree-lua.txt)
47
+
### Setup
46
48
47
49
Setup the plugin in your `init.lua`
48
50
@@ -72,7 +74,15 @@ require("nvim-tree").setup({
72
74
})
73
75
```
74
76
75
-
Optionally customise your mappings, see [:help nvim-tree-mappings](doc/nvim-tree-lua.txt)
77
+
### Help
78
+
79
+
Open the tree: `:NvimTreeOpen`
80
+
81
+
Show the mappings: `g?`
82
+
83
+
### Custom Mappings
84
+
85
+
[:help nvim-tree-mappings-default](doc/nvim-tree-lua.txt) are applied by default however you may customise via |nvim-tree.on_attach| e.g.
76
86
77
87
```lua
78
88
localfunctionmy_on_attach(bufnr)
@@ -98,14 +108,6 @@ require("nvim-tree").setup {
98
108
}
99
109
```
100
110
101
-
Open the tree: `:NvimTreeOpen`
102
-
103
-
Show the mappings: `g?`
104
-
105
-
For complete list of available configuration options see [:help nvim-tree-setup](doc/nvim-tree-lua.txt)
106
-
107
-
Each option is documented in `:help nvim-tree.OPTION_NAME`. Nested options can be accessed by appending `.`, for example [:help nvim-tree.filters.dotfiles](doc/nvim-tree-lua.txt)
108
-
109
111
## Commands
110
112
111
113
See [:help nvim-tree-commands](doc/nvim-tree-lua.txt)
@@ -120,12 +122,6 @@ Basic commands:
120
122
121
123
`:NvimTreeCollapse` Collapses the nvim-tree recursively.
122
124
123
-
## Mappings
124
-
125
-
`g?` toggles help, showing all the mappings and their actions.
126
-
127
-
To customise your mappings see [:help nvim-tree.on_attach](doc/nvim-tree-lua.txt) and [:help nvim-tree-mappings](doc/nvim-tree-lua.txt)
128
-
129
125
## Roadmap
130
126
131
127
nvim-tree is stable and new major features will not be added. The focus is on existing user experience.
@@ -155,20 +151,6 @@ PRs are always welcome. See [wiki](https://github.com/nvim-tree/nvim-tree.lua/wi
155
151
156
152
See [bug](https://github.com/nvim-tree/nvim-tree.lua/issues?q=is%3Aissue+is%3Aopen+label%3Abug) and [PR Please](https://github.com/nvim-tree/nvim-tree.lua/issues?q=is%3Aopen+is%3Aissue+label%3A%22PR+please%22) issues if you are looking for some work to get you started.
157
153
158
-
### Help Wanted
159
-
160
-
Developers with the following environments:
161
-
162
-
* Apple macOS
163
-
* Windows
164
-
* WSL
165
-
* msys
166
-
* powershell
167
-
168
-
Help triaging, diagnosing and fixing issues specific to those environments is needed, as the nvim-tree developers do not have access to or expertise in these environments.
169
-
170
-
Let us know you're interested by commenting on issues and raising PRs.
171
-
172
154
## Screenshots
173
155
174
156
See [Showcases](https://github.com/nvim-tree/nvim-tree.lua/wiki/Showcases) wiki page for examples of user's configurations with sources.
0 commit comments