Vim 声称 Eclim 的 ProjectCreate 不是编辑器命令

Vim claims Eclim’s ProjectCreate is not an editor command

我关注了eclim’s installation instructions, but when getting started我连项目都创建不了:

:ProjectCreate /path/to/project
E492: Not an editor command: ProjectCreate

怎么了?

您是否使用了 eclim 安装程序建议在 ~/.vim/bundle/eclim 中安装 vim 文件?默认情况下(至少在 Debian 上)vim 不会查看此目录。您必须将 eclim 的 vimfiles(目录 eclimplugins)直接移动到 ~/.vim/(如果已经存在则合并 plugins)。

或者,我没有测试,但 the "build from source" tutorial 建议

create a user.properties file at the eclim source root and put all your properties in there:

$ vim user.properties
eclipse.home=/opt/eclipse
eclipse.local=${user.home}/.eclipse/org.eclipse.platform_<version>
vim.files=${user.home}/.vim/bundle/eclim