病原体对我不起作用。我正在关注 Adam Lowe 在此处发布的提示(以及更多提示),但没有成功...
我的 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
.vim 的内容 - ls .vim/*
:
.vim/autoload:
pathogen.vim
.vim/bundle:
nerdcommenter/ vim-haml/ vim-surround/
vim-endwise/ vim-rails/ vim-vividchalk/
bundle 中的所有插件都是通过将它们从 GitHub 克隆到 bundle 目录来安装的。
我已经尝试过病原体 1.1 和 1.2,甚至是来自 GitHub 的最新版本,但没有任何结果。Vividchalk、Vim-rails 和 nerdcommenter 不工作。我对其他插头的经验很少,所以我不确定它们,但我想它们也不起作用。
我使用的是 ArchLinux,vim 7.2.385-1(不是最新的,因为最新的需要我安装 ruby1.9,但它仍然是 7.2)。它已通过 pacman - ArchLinux 包管理器安装。除了使用病原体之外,没有安装任何 vim 插件(我什至用 clean 重新安装了 vim 包/usr/share/vim
)。
我究竟做错了什么?
编辑:
/etc/vimrc
http://hpaste.org/fastcgi/hpaste.fcgi/view?id=29685#a29685/usr/share/vim/vimfiles/archlinux.vim
http://hpaste.org/fastcgi/hpaste.fcgi/view?id=29686#a29686