Vim显示“显示”;按ENTER键或键入命令继续”;什么时候开始

Vim显示“显示”;按ENTER键或键入命令继续”;什么时候开始,vim,enter,vundle,Vim,Enter,Vundle,VIM启动时显示一条消息“按ENTER键或键入命令继续”,VIM会出现这种情况,但GVIM不会,GVIM启动时不会显示“按ENTER键或键入命令继续” 操作系统my.vimrc文件中的Vundle设置是windows 7 """""""""""""""""""""""""""Vundle start""""""""""""""""""""""""""""""""" " set the runtime path to include Vundle and initialize set rtp+=C

VIM启动时显示一条消息“按ENTER键或键入命令继续”,VIM会出现这种情况,但GVIM不会,GVIM启动时不会显示“按ENTER键或键入命令继续”

操作系统my.vimrc文件中的Vundle设置是windows 7

"""""""""""""""""""""""""""Vundle start"""""""""""""""""""""""""""""""""
" set the runtime path to include Vundle and initialize
set rtp+=C:/Users/penpan/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')

" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'

" The following are examples of different formats supported.
" Keep Plugin commands between vundle#begin/end.
" plugin on GitHub repo
Plugin 'tpope/vim-fugitive'
" plugin from http://vim-scripts.org/vim/scripts.html
Plugin 'L9'
" The sparkup vim script is in a subdirectory of this repo called vim.
" Pass the path to set the runtimepath properly.
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
" Avoid a name conflict with L9
Plugin 'user/L9', {'name': 'newL9'}
"NERDTree
Plugin 'https://github.com/scrooloose/nerdtree.git'
"color scheme molokai
Plugin 'tomasr/molokai'
"Match Tag
Plugin 'Valloric/MatchTagAlways'
"ctags
Plugin 'szw/vim-tags'
" All of your Plugins must be added before the following line
call vundle#end()            " required
filetype plugin indent on    " required
" To ignore plugin indent changes, instead use:
filetype plugin on
"
" Brief help
" :PluginList       - lists configured plugins
" :PluginInstall    - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean      - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
""""""""""""""""""""""""""""End Vundle"""""""""""""""""""""""""""""""""
我谨此陈辞:

call vundle#end()            " required
然后就可以了!VIM启动时没有显示按enter键提示。所以我相信这个调用会产生提示。我在它前面添加了silent!如下所示:

silent! call vundle#end()
但是没有用,VIM仍然显示提示。 并在.vimrc中添加以下内容:

set shortmess+=T
set cmdheight=2
不起作用

我试图在谷歌上找到答案,提出了很多建议,但都不管用:(

Vundle是一个常见的插件,有人对我有同样的问题吗

如果你能帮忙,我将不胜感激

仅当我删除以下内容时,按enter键提示才会消失:

call vundle#end()            " required
filetype plugin indent on    " required
" To ignore plugin indent changes, instead use:
filetype plugin on
"
" Brief help
" :PluginList       - lists configured plugins
" :PluginInstall    - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean      - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
""""""""""""""""""""""""""""End Vundle"""""""""""""""""""""""""""""""""
colorscheme molokai "because molokai is installed by Vundle, so it only work after Vundle is lunched!
====================================================已修复==================================== 在vundle配置中删除插件MatchTagAlways后,问题已修复。以下是我发现问题的步骤:

  • 首先,您需要知道导致问题的配置区域,对我来说,这是Vundle的配置
  • 添加:重画!在调用vundle#begin()和调用vundle#end()之后
  • 打开vim,它将在按enter键消息上方显示错误消息
  • 之前:

    按ENTER键或键入命令继续

    之后:

    MatchTagAlways不可用:需要python

    按ENTER键或键入命令继续

  • 现在我们找到了根本原因。修复它,或者删除插件

  • ps:gvim有+python3/dyn支持,但vim没有。因此,如果始终安装插件匹配标记,vim会出现错误。

    中设置shortmess=a
    。vimrc
    应该停止该操作

    此wiki似乎是该问题的权威:


    删除所有插件。如果不知道配置的作用,请不要复制它们。谢谢,我将删除刚刚从Vundle git主页复制的插件。我甚至不知道它们是什么:)