Vim Installation nerdtree,solarized Plugin

Source: Internet
Author: User

Experimental system version and VIM version

System: CentOS6.3 vim:7.2

Plug-in introduction (Attach a photo)

Nerdtree (plugin for navigating the directory structure on the left side of the window)

Solarized (a vim theme that you think is more eye-protecting)

650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/86/A4/ Wkiol1fgc7zjxzugaagl3uogxao439.png "" 1028 "height=" 389 "/>

Online Popular installation Tutorials I installed a half-day has not been successful. I have been tinkering for a long time is also installed success, now send a blog record.

Installing these two plugins requires the installation of pathogen, a plug-in for the Vim management plug-in that facilitates the management of the many plugins that have followed.

I. Download the pathogen and upload it to Linux via WINCP

Https://github.com/tpope/vim-pathogen

Two. Unzip the pathogen software

650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/86/A4/ Wkiol1fgc72awz4jaaanv4q88hm208.png "" 499 "height=" 142 "/>

Three. Installation

There is no. vim directory in the current directory, so create it yourself and create bundles as subdirectories at the same time

650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/86/A4/ Wkiol1fgc73wkx7taaajiqpevqq946.png "" 355 "height="/>

Copy the extracted files to the. Vim directory you just created.

650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/86/A4/ Wkiol1fgc8gaq952aaalru8ft04109.png "" 515 "height="/>

650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/86/A4/ Wkiol1fgc8hgvdataaamuklspxq269.png "" 227 "height="/>

As of this step, the installation pathogen is complete.

Installing the Nerdtree Plugin

Need to install Git first, the later installation is more convenient

650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/86/A4/wKiom1fGc8GAY_ Nraaaiuzrwop0999.png "" 342 "height="/>

According to the introduction of the official website, first cut to the bundle directory

650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/86/A4/ Wkiol1fgc8lzfnhdaaapwpzmwks438.png "" 654 "height=" "/>

To start pathogen you need to create a ~/.VIMRC file. Add file contents as follows

650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/86/A4/ Wkiom1fgc8lbh6pmaaali6lohlu571.png "" 282 "height="/>

The plugin has been installed and entered in Vim's last line mode: Nerdtree to see if the operation was successful

650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/86/A4/ Wkiom1fgc8pzsdk4aacfovjivho933.png "" 644 "height=" 421 "/>

Installing vim-colors-solarized

According to the documents on the official website, you should first cut to the ~/.vim/bundle directory.

650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/86/A4/ Wkiol1fgc8az19qiaaamvx9qkds865.png "" 726 "height="/>

Edit the ~/.VIMRC file, configure solarized

650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/86/A4/ Wkiol1fgc8rjwkrmaaatvxnlsso697.png "" 285 "height="/>

Installation complete, open a file to see.

650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/86/A4/ Wkiol1fgc8uaesl0aaeujix0ins592.png "" 644 "height=" 227 "/>

Two plugins installed OK.

Vim Installation nerdtree,solarized Plugin

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.