|
1 | 1 | # A File Explorer For Neovim Written In Lua
|
2 | 2 |
|
3 |
| -[](https://github.com/kyazdani42/nvim-tree.lua/actions/workflows/ci.yml) |
| 3 | +[](https://github.com/nvim-tree/nvim-tree.lua/actions/workflows/ci.yml) |
4 | 4 |
|
5 | 5 | <img align="left" width="143" height="443" src=".github/example.tree.png?raw=true">
|
6 | 6 | <img align="left" width="174" height="583" src=".github/example.help.png?raw=true">
|
|
28 | 28 |
|
29 | 29 | [neovim >=0.7.0](https://github.com/neovim/neovim/wiki/Installing-Neovim)
|
30 | 30 |
|
31 |
| -[nvim-web-devicons](https://github.com/kyazdani42/nvim-web-devicons) is optional and used to display file icons. It requires a [patched font](https://www.nerdfonts.com/). |
| 31 | +[nvim-web-devicons](https://github.com/nvim-tree/nvim-web-devicons) is optional and used to display file icons. It requires a [patched font](https://www.nerdfonts.com/). |
32 | 32 |
|
33 | 33 | ## Install
|
34 | 34 |
|
35 | 35 | Install with [vim-plug](https://github.com/junegunn/vim-plug):
|
36 | 36 |
|
37 | 37 | ```vim
|
38 |
| -Plug 'kyazdani42/nvim-web-devicons' " optional, for file icons |
39 |
| -Plug 'kyazdani42/nvim-tree.lua' |
| 38 | +Plug 'nvim-tree/nvim-web-devicons' " optional, for file icons |
| 39 | +Plug 'nvim-tree/nvim-tree.lua' |
40 | 40 | ```
|
41 | 41 |
|
42 | 42 | or with [packer](https://github.com/wbthomason/packer.nvim):
|
43 | 43 |
|
44 | 44 | ```lua
|
45 | 45 | use {
|
46 |
| - 'kyazdani42/nvim-tree.lua', |
| 46 | + 'nvim-tree/nvim-tree.lua', |
47 | 47 | requires = {
|
48 |
| - 'kyazdani42/nvim-web-devicons', -- optional, for file icons |
| 48 | + 'nvim-tree/nvim-web-devicons', -- optional, for file icons |
49 | 49 | },
|
50 | 50 | tag = 'nightly' -- optional, updated every week. (see issue #1193)
|
51 | 51 | }
|
@@ -120,7 +120,7 @@ nvim-tree comes with number of mappings; for default mappings please see [:help
|
120 | 120 | * `toggle` has a second parameter which allows to toggle without focusing the explorer (`require"nvim-tree".toggle(false, true)`).
|
121 | 121 | * You can allow nvim-tree to behave like vinegar, see [:help nvim-tree-vinegar](doc/nvim-tree-lua.txt)
|
122 | 122 | * If you `:set nosplitright`, the files will open on the left side of the tree, placing the tree window in the right side of the file you opened.
|
123 |
| -* You can automatically close the tab/vim when nvim-tree is the last window in the tab: <https://github.com/kyazdani42/nvim-tree.lua/discussions/1115>. WARNING: this can catastrophically fail: <https://github.com/kyazdani42/nvim-tree.lua/issues/1368>. This will not be added to nvim-tree and the team will not provide support / assistance with this, due to complexities in vim event timings and side-effects. |
| 123 | +* You can automatically close the tab/vim when nvim-tree is the last window in the tab: <https://github.com/nvim-tree/nvim-tree.lua/discussions/1115>. WARNING: this can catastrophically fail: <https://github.com/nvim-tree/nvim-tree.lua/issues/1368>. This will not be added to nvim-tree and the team will not provide support / assistance with this, due to complexities in vim event timings and side-effects. |
124 | 124 | * Hide the `.git` folder: `filters = { custom = { "^.git$" } }`. See [:help nvim-tree.filters.custom](doc/nvim-tree-lua.txt).
|
125 | 125 | * To disable the display of icons see [:help nvim-tree.renderer.icons.show](doc/nvim-tree-lua.txt).
|
126 | 126 |
|
@@ -153,7 +153,7 @@ Please attach `$XDG_CACHE_HOME/nvim/nvim-tree.log` if you raise an issue.
|
153 | 153 |
|
154 | 154 | *Performance Tips:*
|
155 | 155 |
|
156 |
| -* If you are using fish as an editor shell (which might be fixed in the future), try set `shell=/bin/bash` in your vim config. Alternatively, you can [prevent fish from loading interactive configuration in a non-interactive shell](https://github.com/kyazdani42/nvim-tree.lua/issues/549#issuecomment-1127394585). |
| 156 | +* If you are using fish as an editor shell (which might be fixed in the future), try set `shell=/bin/bash` in your vim config. Alternatively, you can [prevent fish from loading interactive configuration in a non-interactive shell](https://github.com/nvim-tree/nvim-tree.lua/issues/549#issuecomment-1127394585). |
157 | 157 |
|
158 | 158 | * Try manually running the git command (see the logs) in your shell e.g. `git --no-optional-locks status --porcelain=v1 --ignored=matching -u`.
|
159 | 159 |
|
|
0 commit comments