tags:

views:

457

answers:

3

Pathogen does not work for me. I am following Adam Lowe's hints posted here (and few more) without any success...

My vimrc:

filetype off
call pathogen#runtime_append_all_bundles()

filetype plugin indent on
set nocompatible
syntax on
set tabstop=2
set smarttab
set shiftwidth=2
set autoindent
set expandtab
set number
colorscheme darkblue

Contents of .vim - ls .vim/*:

.vim/autoload:
pathogen.vim

.vim/bundle:
nerdcommenter/  vim-haml/   vim-surround/
vim-endwise/    vim-rails/  vim-vividchalk/

All plugins in bundle were installed by cloning them from GitHub into bundle directory.

I have tried with pathogen 1.1 and 1.2 and even the latest from GitHub without any result. Vividchalk, Vim-rails and nerdcommenter are not working. I have very little experience with other plugs so I am not sure about them, but I suppose they are not working too.

I am using ArchLinux, vim 7.2.385-1 (not the latest because the latest requires me to install ruby1.9, but it is still 7.2). It has been installed via pacman - ArchLinux package manager. No vim plugins were installed the other way than using pathogen (I have even reinstalled vim package with cleaning /usr/share/vim).

What am I doing wrong?

EDIT:

A: 

I have it in mine as:

silent! call pathogen#runtime_append_all_bundles()

Abizern
Thanks, but still no effect...
skalee
+1  A: 
filetype off                                                                
call pathogen#runtime_append_all_bundles()
call pathogen#helptags()
gregf
Thanks, but still nothing...
skalee
+1  A: 

Maybe Arch's default vimrc (possibly /etc/vim/vimrc) doesn't play well with Pathogen. Try starting Vim without loading config files:

vim -u NONE

and then load your vimrc from within vim:

:so ~/.vimrc

Do the plugins work then?

Roberto Bonvallet
I am getting error E117 that `pathogen#runtime_append_all_bundles` and `pathogen#helptags` are unknown functions. Loading pathogen with `:so .vim/autoload/pathogen.vim` before loading `.vimrc` does not help. Commenting everything in `/etc/vimrc` does not help. Substituting `/etc/vimrc` with standard example vimrc does not help. Thanks for your effords.
skalee
Did you ever figure out how to fix it? I have the same problem now using Ubuntu.
Conceited Code
Yeah I have the same problem too. Installed http://github.com/akitaonrails/vimfiles. On Ubuntu 10.10. gVim 7.2.330
Ramon Tayag