我在应用vim命令:PluginInstall
时遇到了麻烦,当它执行时似乎可以正常工作,但是它打开了一个Vundler Installer
(或我认为)的窗口,在此期间我似乎无法退出应用插件。我尝试使用:q
,:x
和:wq
(:w
在此窗口上显然无效),并且还尝试重新启动终端。我也从终端尝试了vim +PluginInstall +qall
。
Here's the window that opens with :PluginInstall
(on the left)
And here's when I :q
the window (如您所见,底部的状态栏已不再存在)
我是Vim的新手,我想我在安装过程甚至在我的.vimrc
文件中都做错了什么(那里还有很多我不了解的地方)。
我的.vimrc
:
1 set nocompatible
2 filetype off
3
4 set rtp+=~/.vim/bundle/Vundle.vim
5 call vundle#begin()
6
7 Plugin 'gmarik/Vundle.vim'
8
9
10 Plugin 'tpope/vim-rails'
11 Plugin 'tpope/vim-surround'
12 Plugin 'scrooloose/nerdtree'
13 Plugin 'ctrlpvim/ctrlp.vim'
14 Plugin 'godlygeek/tabular'
15 Plugin 'itchyny/lightline.vim'
16 Plugin 'vim-ruby/vim-ruby'
17 set rtp+=~/.fzf
18 Plugin 'junegunn/fzf.vim'
19 call vundle#end()
20
21
22 filetype plugin indent on
23
24 set number
25 set mouse=a
26 syntax on
27 set backspace=indent,eol,start
28 set tabstop=2 shiftwidth=2 expandtab
29 if has("multi_byte")
30 set encoding=utf-8
31 setglobal fileencoding=utf-8
32 else
33 echoerr "Sorry, this version of (g)vim was not compiled with +multi_byte"
34 endif
答案 0 :(得分:0)
:close
应该关闭PluginInstall窗口并将vim返回到运行:PluginInstall