Sunday, September 22, 2013

Installing pathogen for vim in Ubuntu

Copy and pasting from the link here: 

Slighty modified the url of github:

mkdir -p ~/.vim/autoload ~/.vim/bundle;
curl -Sso ~/.vim/autoload/pathogen.vim https://github.com/tpope/vim-pathogen/tree/master/autoload
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

No comments: