簡體   English   中英

如何申請:Vim上的PluginInstall

[英]How to apply :PluginInstall on Vim

我無法應用vim命令:PluginInstall ,當我這樣做它似乎工作,但它打開了一個Vundler Installer (或者我認為)窗口,我似乎無法在應用插件時退出。 我試過:q:x:wq:w顯然不能在這個窗口上工作),我也嘗試重啟我的終端。 我也從終端嘗試了vim +PluginInstall +qall

這是打開的窗口:PluginInstall (左側)

這是我的時間:q窗口 (正如你所看到的,底部的狀態欄不再在這里了)

我對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

:close應該關閉PluginInstall窗口並將vim返回到運行之前處於活動狀態的初始窗口:PluginInstall

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM