windows下安裝和配置vim vundle插件管理器

VIM安裝

這裏我使用的是gitbash自帶的vim7.4,而沒有使用官方的安裝包,這樣又能夠附帶一個能用的命令行。git

gitbash版本 Git-2.6.1-64-bit.exe github

界面差很少是這樣的:vim

clipboard.png

Git Bash 下載地址bash

安裝包第一步全選,剩下的步驟所有下一步到底便可。ui

vundle插件管理器安裝

vundle githubspa

$ cd /d/dev/Git/usr/share/vim/vim74/
$ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
$ vim /d/dev/Git/etc/vimrc

加入如下配置項插件

set nocompatible              " be iMproved, required
filetype off                  " required

" set the runtime path to include Vundle and initialize
set rtp+=/d/Dev/Git/usr/share/vim/vim74/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'
" 須要的插件能夠繼續從這裏追加

" All of your Plugins must be added before the following line
call vundle#end()            " required
filetype plugin indent on    " required

最後打開vim運行 :PluginInstall命令行

clipboard.png

相關文章
相關標籤/搜索