Vim Test 6: nerdtree plug-in Installation

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.