Gvim installation Pathogen

Source: Internet
Author: User
Tags autoload


Pathogen Installation steps:

1) First Download Pathogen:https://github.com/tpope/vim-pathogen

can be extracted directly after download. The pathogen plugin only has a single script, so the installation is to put it in the current user's ~/.vim/autoload directory. that is, copy the extracted AutoLoad directory together with the Pathogen.vim plugin inside the ~/.vim/directory. (Copy the Pathogen.vim in the AutoLoad folder into the Vimfiles\autoload)

The Official Install
--------------------------------------------------------------------------------------------------------------- -------------------

Install to ~/.vim/autoload/pathogen.vim. Or Copy and paste:

Mkdir-p ~/.vim/autoload ~/.vim/bundle; \ curl-so ~/.vim/autoload/pathogen.vim \ Https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim

If you don't have a curl, use wget-o-instead.

By the and if you ' re using Windows, change all occurrences of ~/.vim to ~\vimfiles.

--------------------------------------------------------------------------------------------------------------- --------------------

2) .vimrc Add the following code to the file:

Call Pathogen#infect () filetype plugin indent on


3) Create a bundle directory under the Vimfiles directory to hold the new plug-in to be installed.

Put all the plug-ins into the ~/.vim/bundle (Windows is/vimfiles/bundle), such as the installation of zencoding this plug-in, after downloading the plugin on the official website, go to the bundle folder, create a new folder, Named Zencoding (of course, the name is not mandatory for the plug-in name, you can set it to any easily recognizable name), and then unzip the contents of the package into the folder.


Example: Installing powerline using pathogen.

1) Download Powerline Https://github.com/Lokaltog/vim-powerline

2) Unzip powerline into ~/.vim/bundle (Windows is/vimfiles/bundle). At this point, the powerline installation is complete.

3) Next configure the powerline to write in _VIMRC:

"Powerline status bar Landscaping set laststatus=2" Always show the Statuslineset t_co=256 "explicitly tell Vim that the Termi NAL support Colorslet g:powerline_symbols = ' Fancy





This article is from the "whatever957" blog, make sure to keep this source http://whatever957.blog.51cto.com/6835003/1694366

Gvim installation Pathogen

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.