perlomni.vim installation fail using pathogen or vundle

434 Views Asked by At

I am tyring to install perlomni.vim so I can use auto function lookup in a gvim window.

I have tried using pathhogen and vundle for trying to configure this bundle.

I think the problem I am running into is how I am install perlomni.vim

I have a directory set up ~/.vim/bundle/vundle and ~/.vim/bundle

PATHOGEN WAY

cd ~/.vim/bundle
git clone https://github.com/c9s/perlomni.vim.git
cd perlomni.v
make install

Then since I am running in tcsh shell I set the path variable as set path=($path\:$home/.vim/bin)

Should I be trying to install this undle the .vim/bundle directory.....when I run the make install command it tries to install it into the .vim/ directory and place all the .vim files it uses into .vim/ftplugin .vim/plugin .vim/bin directory.......So maybe I do not have the other right settings in my .vimrc file to include the bundle installed this way.

VUNDLE WAY I have vundle installed and here is a snippet of my .vimrc

set nocompatible
filetype off

call pathogen#incubate()
execute pathogen#infect()

set rtp+=~/.vim/bundle/vundle/
call vundle#rc()

"Required Bundel Statement
Bundle 'gmarik/vundle'

"User Installed Bundles
Bundle 'neocomplcache/neocomplcache.vim'
Bundle 'perlomni/perlomni.vim'

" Non Git Hub Bundles
"Bundle 'git://git.wincent.com/command-t.git'
" Bundles on Local Machine
Bundle '/usr/share/vim/vim70/ftplugin/perl.vim'

filetype plugin indent on
filetype on
syntax on
1

There are 1 best solutions below

7
On

With this vimrc, pathogen, and perlomni.vim in the bundle directory <C-X><C-O> preforms omnicompletion.

set nocompatible
filetype plugin indent on
syntax on

call pathogen#infect()

Without seeing your actual vimrc I do not know what the problem is but this works for me.