Pathogen does not load plugins

前端 未结 19 2041
醉梦人生
醉梦人生 2020-12-02 11:02

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         


        
19条回答
  •  没有蜡笔的小新
    2020-12-02 11:51

    My environment is Vim 7.3.35 and Ubuntu 11.04.

    I spent some time trying to resolve it. I clone the project https://github.com:r00k/dotfiles and follow the instructions to install.

    When started vi a got the so commented

    E117: Unknown function: pathogen#runtime_append_all_bundles

    and the solution:

    filetype off

    call pathogen#runtime_append_all_bundles()

    filetype on

    did not work.

    I found the .vim symlink in my home directory where no properly set. The install script made a .vim DIRECTORY with a symlink vim inside of it pointing to my .dotfiles/vim. The solution was to delete the .vim directory and make a symlink .vim pointing .dotfiles/vim.

    A kept the filetype off/on in my .vimrc also.

提交回复
热议问题