Description
nvim-tree.lua is a file explorer tree for Neovim, written in Lua. It shows your project's folders and files, and it updates automatically as files change on disk. Files are shown with type icons when the optional nvim-web-devicons plugin is installed, and the tree shows git status. It integrates with diagnostics from LSP and COC, so problems can be seen next to the files that have them. You can filter the tree live, rename, delete and create files and folders, and cut, copy and paste them, including between separate Neovim instances. The README says it is highly customizable and points to the wiki for showcases, tips and recipes. The plugin needs Neovim 0.10 or later, and the README notes that disabling netrw is strongly advised. You install it through your plugin manager, and the quick start shows the setup in init.lua, along with the :NvimTreeOpen command and the g? key for showing the default mappings. The roadmap says the plugin is stable, that major new features will not be added, and that work focuses on bug fixes, performance and quality-of-life improvements, with extension done through the public API.…
Highlights
- File tree sidebar with auto-updates
- Git and diagnostics integration
- Live filtering and file operations
- Cut, copy and paste between instances
- Customizable through a public API
Ratings & Reviews
No ratings yet
Be the first to rate Nvim-tree.lua.
People also visit
LunarVim
LunarVim is an IDE layer for Neovim. Completely free and community driven
Nvim-tree.lua FAQ
What is nvim-tree?
A file explorer tree for Neovim, written in Lua, that shows and manages your project's files.
Which Neovim version is needed?
Neovim 0.10 or later. The README says older versions are not supported, though a compat tag exists for them.
How do I install it?
Install nvim-tree.lua and, optionally, nvim-web-devicons with your plugin manager, then call the setup in init.lua.
How do I open the tree?
Run :NvimTreeOpen, and press g? to see the mappings.
Do I need a special font?
Only for the file icons. nvim-web-devicons needs a patched font such as Hack Nerd Font.
Will new features be added?
The roadmap says major new features will not be added, and development focuses on bugs, performance and quality of life.
What are the best Nvim-tree.lua alternatives?
Popular alternatives to Nvim-tree.lua include Neovim, Vim Fern and LuaSnip. See all Nvim-tree.lua alternatives



