Configuring Vim and Nerdtree Plugins

Source: Internet
Author: User
Tags git clone

Recently you've been learning to develop Ruby using the Vim editor. Follow the online tutorial to install VIM. The address of the official website is difficult to download. Use

sudo Install VIM-GTK

The first download does not come down, later I think I was the last time I installed Ruby said source.list file changed, to become the source of NetEase.
or restore it back. Use the original source. The file I'm talking about is/etc/apt/source.list.

The next installment is going well.

You can then enter VIM or Gvim to open the Vim editor. Then downloaded the Vim nerdtree plugin. Follow the online approach to first

git clone https://github.com/scrooloose/nerdtree

Then build the ~/.vim/plugin and ~/.vim/doc directories. Copy the Plugin/nerd_tree.vim and Doc/nerd_tree.txt to the ~/.vim/plugin and ~/.vim/doc directories respectively.
Then you can enter it after Vim starts: Nerdtree to bring up the tree directory. There was an error in my case:

It turns out that I installed the plugin in the plugin directory. In fact, it should be said that other files in the Nerdtree folder overwrite the installation in the Vim73 folder.

Finally ushered in an important moment, the installation was successful!

Configuring Vim and Nerdtree Plugins

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.