【问题标题】:Strange message when starting Vim while trying to set up Vundle尝试设置 Vundle 时启动 Vim 时出现奇怪的消息
【发布时间】:2018-07-03 17:02:21
【问题描述】:

我正在尝试安装 Vundle,以便在 Vim 中拥有适用于 Python 的 IDE。但是每次我启动 Vim 时它都会给我这样的信息:

    Name        Args       Address   Complete  Definition
    Bundle      +                                  call vundle#config#bundle(<args>)
!   BundleClean ?                                  PluginClean<bang>
    BundleDocs  0                                  PluginDocs
!   BundleInstall ?                    custom        PluginInstall<bang> <args>
!   BundleList  0                                  PluginList<bang>
!   BundleSearch ?                    custom        PluginSearch<bang> <args>
    BundleUpdate 0                                  PluginInstall!
    Plugin      +                                  call vundle#config#bundle(<args>)
!   PluginClean ?                                  call vundle#installer#clean('!' == '<bang>')
    PluginDocs  0                                  call vundle#installer#helptags(g:vundle#bundles)
!   PluginInstall *                    custom        call vundle#installer#new('!' == '<bang>', <f-args>)
!   PluginList  0                                  call vundle#installer#list('!' == '<bang>')
!   PluginSearch ?                    custom        call vundle#scripts#all('!' == '<bang>', <q-args>)
    PluginUpdate *                    custom        PluginInstall! <args>
!   VundleClean ?                                  PluginClean<bang>
    VundleDocs  0                                  PluginDocs
!   VundleInstall ?                    custom        PluginInstall<bang> <args>
!   VundleSearch ?                    custom        PluginSearch<bang> <args>
    VundleUpdate *                    custom        PluginInstall! <args>
Press ENTER or type command to continue

我使用了Vundle repository 中的代码。

知道如何阻止这种行为吗?

【问题讨论】:

标签: vim vundle


【解决方案1】:

查看your .vimrc,你忘了在开头添加这些行:

set nocompatible
filetype off

Vundle Quick Start 表示这些行是必需的。它们必须放在set rtp+=~/.vim/bundle/Vundle.vim 语句之前的某个位置。

【讨论】:

  • 完成了,我还是有这个问题
  • @GiuseppeMinardi 有一行你写了Bundle 'Valloric/YouCompleteMe'。那应该是Plugin 'Valloric/YouCompleteMe' 和其他人一样。这样可以消除错误吗?
  • 不,我仍然收到消息
  • 即使我直接从 Vundle 存储库中输入代码,我仍然会收到错误消息
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2012-09-09
  • 1970-01-01
  • 1970-01-01
  • 2014-08-13
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多