As Vim is used more and more, we feel the power of VIM. For example, we need directory browsing recently. So we searched for related things and found a lot of knowledge on the Internet, however, it is complicated, so you just need to spend some time to sort it out.
The first step is to download a plug-in: http://www.vim.org/scripts/script.php? You can also click here to download script_id = 1658. Because this is a foreign website, if you feel it is slow, you can consider downloading it on csdn, of course, without points: http://download.csdn.net/detail/xinguimeng/7732899, you can also click here to download
Step 2: Decompress the package. We can decompress the downloaded file in Four folders: Doc, nerdtree_plugin, plugin, and syntax. Each folder contains one file, in this case, we need to find the vim installation directory. The installed version is 7.4. Therefore, under the vim74 directory, copy the files in the doc and plugin folders to the directory of the corresponding folder in vim74, that is, copy the doc to vim74/doc, and copy the contents in plugin to vim74/plugin.
The third step is to set up. In fact, this time can be used. For convenience, I have customized two key mappings. Let's add these two lines in _ vimrc:
"Set nerdtreemap <F3>: nerdtreemirror <CR> Map <F3>: nerdtreetoggle <CR>
Step 4: when we open vim and press F3, the result is as follows:
So far, the installation of this plug-in is complete. Do you like it?