I have installed the winmanager plug-in before, but I feel that it is not very good to use. Today, we accidentally discovered a better File Manager plug-in called nerdtree. First, the red box marks the nerdtree area:
Is it really amazing? I changed the color scheme and set the font set guifont = las LAS: H11. This new color scheme named Freya, interested can go here: http://www.vim.org/scripts/script.php? For the installation method of script_id = 1651, refer to the first article in the same series of blogs.
Now let's install nerdtree together, from http://www.vim.org/scripts/script.php? Script_id = 1658 download, decompress, and unzip the obtained plugin and Doc folders ~ The/Vim/vim73/directory combines folders of the same name. Add the following configuration code to the _ vimrc file:
"Set nerdtreemap <F3>: nerdtreemirror <CR> Map <F3>: nerdtreetoggle <CR>
Press F3 to display or hide the nerdtree area.
Appendix:Http://www.cnblogs.com/chijianqiang/archive/2012/11/06/vim-3.html
Nerdtree provides a variety of keyboard operations to browse and open files. I will briefly introduce some common shortcut keys:
Like editing a file, move the cursor through h j k l to locate o to open or close the file or directory. If it is a file, the cursor appears in the open file and the go effect is the same as above, however, the cursor remains in the file directory. Similar to the preview function of the file content, I and s can be split horizontally or vertically to open the file, previously added G-like go function T Open t in the tab t open P to the upper directory P to the root directory K to the first node J in the same directory to the last node in the same directory M Displays the file system menu (add, delete, and move operations )? Help Q close
For more operation methods, can I use? View Detailed Help information.