Notes on Ubuntu (Linux) computing

Brief notes on installation, setup and other tasks in the Ubuntu world

Install pathogen.vim

with 6 comments

I am moving to vim as my main editor. To customize the environment, there are many plugins that make vim more powerful and easier to use. To start, I will install the plugin manager called pathogen. I will follow the install method detailed there and you should check the site for updates before proceeding.

mkdir -p ~/.vim/autoload ~/.vim/bundle;
curl -Sso ~/.vim/autoload/pathogen.vim https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim

If the above doesn’t work because you don’t have curl installed, that is easy to remedy

sudo apt-get install curl

If you are new to vim and do not have a .vimrc file, create one with vim:

vim ~/.vimrc

and paste the following lines in a minimal .vimrc file

" Pathogen
execute pathogen#infect()
call pathogen#helptags() " generate helptags for everything in 'runtimepath'
syntax on
filetype plugin indent on

Otherwise, make sure these lines are added to your .vimrc file.

More Information

[1] Pathogen github site
[2] logicalfriday.com post

Advertisements

Written by Chris S

April 11, 2013 at 11:33 pm

6 Responses

Subscribe to comments with RSS.

  1. […] the previous post I installed the vim package manager pathogen. Now we take advantage of this tool to install […]

  2. […] Next, install tagbar with pathogen […]

  3. […] Next, we install the jedi plugin for vim using pathogen […]

  4. Reblogged this on Suresh Prasanna tells and commented:
    For Vim lovers

    sureshprasannaceg

    May 25, 2013 at 7:31 pm

  5. […] livesoncoffee.wordpress.com […]

    Computer Tips | Annotary

    September 1, 2013 at 12:30 am

  6. […] types: *.html, *.py and so on. Following the installation instructions (see above link), we use pathogen to install the […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: