preservim / nerdtree
git clone https://github.com/preservim/nerdtree.git
🔥 on GitHub Trending today
A tree explorer plugin for vim.
+0
stars, 24h · #15,498
+~0
stars, 7 days · #15,999
+13
stars, 30 days · #22,179
20k
★ total
1.4k
forks · 29 open issues
Star history (as recorded here)
LanguageVim Script
LicenseWTFPL
Created2008-03-10 (18y ago)
Last push1y ago
Watchers298
OwnerOrganization
Seen on GitHub Trending
- 2026-10-22 — #9 monthly in vim-script · +15 ★
- 2026-10-21 — #9 monthly in vim-script · +12 ★
- 2026-10-20 — #9 monthly in vim-script · +13 ★
GitHub topics
Links
README excerpt
# The NERDTree ## Introduction The NERDTree is a file system explorer for the Vim editor. Using this plugin, users can visually browse complex directory hierarchies, quickly open files for reading or editing, and perform basic file system operations. ## Installation Use your favorite plugin manager to install this plugin. tpope/vim-pathogen, VundleVim/Vundle.vim, junegunn/vim-plug, and Shougo/dein.vim are some of the more popular ones. A lengthy discussion of these and other managers can be found on vi.stackexchange.com. Basic instructions are provided below, but please **be sure to read, understand, and follow all the safety rules that come with your ~~power tools~~ plugin manager.** If you have no favorite, or want to manage your plugins without 3rd-party dependencies, consider using Vim 8+ packages, as described in Greg Hurrell's excellent Youtube video: Vim screencast #75: Plugin managers. Pathogen Pathogen is more of a runtime path manager than a plugin manager. You must clone the plugins' repositories yourself to a specific location, and Pathogen makes sure they are available in Vim. 1. In the terminal, [code] 1. In your `vimrc`, [code] 1. Restart Vim, and run `:helptags ~/.vim/bundle/nerdtree/doc/` or `:Helptags`. Vundle 1. Install Vundle, according to its instructions. 1. Add the following text to your `vimrc`. [code] 1. Restart Vim, and run the `:PluginInstall` statement to install your plugins. Vim-Plug 1. Install Vim-Plug, according to its instructions. 1. Add the following text to your `vimrc`. [code] 1. Restart Vim, and run the `:PlugInstall` statement to install your plugins. Dein 1. Install Dein, according to its instructions. 1. Add the following text to your `vimrc`. [code] 1. Restart Vim, and run the `:call dein#install()` statement to install your plugins. Vim 8+ packages If you are using Vim version 8 or higher you can use its built-in package management; see `:help packages` for more information. Just run these commands in your terminal: [code] ## Getting Started After installing NERDTree, the best way to learn it is to turn on the Quick Help. Open NERDTree with the `:NERDTree` command, and press `?` to turn on the Quick Help, which will show you all the mappings and commands available in the NERDTree. Of course, your most complete source of information is the documentation: `:help NERDTree`. ## NERDTree Plugins NERDTree can be extended with custom mappings and functions using its built-in API. The details of this API are described in the included documentation. Several plugins have been written, and are available on Github for installation like any other plugin. The plugins in this list are maintained (or not) by their respective owners, and certain combinations may be incompatible. * Xuyuanp/nerdtree-git-plugin: Shows Git status flags for files and folders in NERDTree. * ryanoasis/vim-devicons: Adds filetype-specific icons to NERDTree files and folders. * tiagofumo/vim-nerdtree-syntax-highlight: Adds