vim安裝Vundle

確保你安裝了git


vim安裝Vundle

克隆


<code>git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim/<code>


vim安裝Vundle


修改~/.vimrc文件


在前面追加內容

<code>set nocompatible              " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'git://git.wincent.com/command-t.git'
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
call vundle#end() " required
filetype plugin indent on " required
/<code>

保存

安裝

  • 先鍵入vim
  • 輸入
<code>:PluginInstall/<code>


vim安裝Vundle


vim安裝Vundle

靜靜等待。

看最後提示,如果出現了error這樣的字眼,那就代表失敗了。

如果你看到的是


vim安裝Vundle


OK,成功了。


分享到:


相關文章: