@@ -26,6 +26,7 @@ CONTENTS *nvim-tree*
26
26
8. Events | nvim-tree-events |
27
27
9. Bookmarks | nvim-tree-bookmarks |
28
28
10. OS Specific Restrictions | nvim-tree-os-specific |
29
+ 11. Netrw | nvim-tree-netrw |
29
30
30
31
==============================================================================
31
32
1. INTRODUCTION *nvim-tree-introduction*
@@ -78,9 +79,11 @@ Install the plugins via your package manager:
78
79
`" nvim-tree/nvim-tree.lua" `
79
80
`" nvim-tree/nvim-web-devicons" `
80
81
82
+ Disabling | netrw | is strongly advised, see | nvim-tree-netrw |
83
+
81
84
Setup the plugin in your `init.lua ` >
82
85
83
- -- disable netrw at the very start of your init.lua (strongly advised)
86
+ -- disable netrw at the very start of your init.lua
84
87
vim.g.loaded_netrw = 1
85
88
vim.g.loaded_netrwPlugin = 1
86
89
@@ -359,7 +362,7 @@ applying configuration.
359
362
glyphs = {
360
363
default = "",
361
364
symlink = "",
362
- bookmark = " ",
365
+ bookmark = " ",
363
366
modified = "●",
364
367
folder = {
365
368
arrow_closed = "",
@@ -2231,4 +2234,25 @@ Windows WSL and PowerShell
2231
2234
freeze nvim
2232
2235
- Some filesystem watcher error related to permissions will not be reported
2233
2236
2237
+ ==============================================================================
2238
+ 11. NETRW *nvim-tree-netrw*
2239
+
2240
+ | netrw | is a standard neovim plugin that is enabled by default. It provides,
2241
+ amongst other functionality, a file/directory browser.
2242
+
2243
+ It interferes with nvim-tree and the intended user experience is nvim-tree
2244
+ replacing the | netrw | browser.
2245
+
2246
+ It is strongly recommended to disable | netrw | . As it is a bundled plugin it
2247
+ must be disabled manually at the start of your `init.lua ` as per | netrw-noload | : >
2248
+
2249
+ vim.g.loaded_netrw = 1
2250
+ vim.g.loaded_netrwPlugin = 1
2251
+ <
2252
+ There are many | netrw | features features beyond the file browser. If you want to
2253
+ keep using | netrw | without its browser features please ensure:
2254
+
2255
+ | nvim-tree.disable_netrw | `= false`
2256
+ | nvim-tree.hijack_netrw | ` = true`
2257
+
2234
2258
vim:tw=78:ts=4:sw=4:et:ft=help:norl:
0 commit comments