Nerdtree is a directory browsing plugin for VIM, using the plugin, you can browse the directory on one side of the Vim window, browse the directory using HJKL, open or close the directory with the ENTER key, and open the file. The installation method is described below.
Use this page to access Nerdtree's GitHub home page: Https://github.com/scrooloose/nerdtree
Commands available on this page: cd ~/.vim/bundle && git clone https://github.com/scrooloose/nerdtree.git
Then use the command: Helptags to generate Nerdtree's help document
Then use the: Nerdtree command to open the directory tree under the current directory on the left side of the window. The command can also have parameters, which can be seen in the help documentation for the plugin.
Note: The default plug-in stores the directory when ~/.vim/bundle is managed with Vim-pathogen.
Here is the directory tree:
1. Enter the Open Directory tree command
2. Directory tree style:
Add Directory browsing plugin for VIM