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