Vim sublimation Tree Catalog plugin nerdtree installation diagram

Source: Internet
Author: User

Vim sublimation Tree Catalog plugin nerdtree installation diagram

Inadvertently see the lab's friends using the VIM can be displayed on the left tree-shaped table of contents, feel very convenient, this looks like folders have what files at a glance. She said is a plug-in called Nerdtree, installation after the effect of the following, not the effect you want to do not Ann. My system is Ubuntu12.04, the version is different. Vim is located in a different directory. The compressed package has been uploaded to the website, if necessary, please download it yourself.

Free in http://linux.linuxidc.com/

User name and password are www.linuxidc.com

Specific download directory in/2013 information/June/15th/vim Sublimation of the tree-type catalog plug-in Nerdtree installation diagram

Installation steps

1. Create a folder

In your user directory, locate and enter the. Vim directory and you can see the. Vim directory there's nothing.

Use the command: mkdir Doc plugin to create two folders, as follows

2. Unzip the plugin

Plug-in compression package storage directory depends on its own

Use command: Unzip Nerdtree.zip extract Plugin

3. Copying files

Successively use the command to copy the Nerd_tree.vim in the Nerd_tree.txt and plugin directories in the doc directory to the 1th step created by the. Vim/doc and. Vim/plugin, as

You can see that we have copied the files in vim.

4. Initial use

Input command: Vim, then enter the command in VIM: Nerdtree press ENTER again to see that the installation was successful.

Instructions for use

1. In the Linux command line interface, enter VIM

2, Input: Nerdtree, enter

3, enter the current directory of the tree-type interface, through the keypad up and down, you can move the selected directory or file

4, the directory is preceded by + or >, press ENTER will expand the directory, the file is preceded by-number, press Enter in the right window to show the contents of the file, the cursor automatically moved to the right file window.

5. CTR+W+H cursor moves to the left tree, ctrl+w+l the cursor to the right file display window. Press ctrl+w multiple times, the cursor automatically switches in the left and right window

6, cursor focus to the left of the tree-shaped window, pressed? Pop Nerdtree's help, press again? Turn off help display

7, Input: Q Enter, close the window where the cursor

Advanced usage

o Open close file or directory
T opens in the tab page
T opens in the Background tab
! Execute this file
p to Upper Directory
P to root directory
K to first node
J to last node
U Open Upper Directory
m Display file System menu (add, delete, move action)
? Help
Q Close

You can also download the latest version from the official website.

Official website: http://www.vim.org/scripts/script.php?script_id=1658

Vim sublimation Tree Catalog plugin nerdtree installation diagram

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.