1- 安装gVim
- 选择Full模式
- 在
vimfiles
文件夹下,会有许多空文件夹。将它们全删掉。 - 将
vim74
文件夹下的autoload
文件夹 剪切到vimfiles
文件夹下。 - 在
vimfiles
文件夹下新建文件夹bundle
。
2- 安装msysGit
3- 安装curl
-
curl.cmd
内容如下
@rem Do not use "echo off" to not affect any child calls.
@setlocal
@rem Get the abolute path to the parent directory, which is assumed to be the
@rem Git installation root.
@for /F "delims=" %%I in ("%~dp0..") do @set git_install_root=%%~fI
@set PATH=%git_install_root%\bin;%git_install_root%\mingw\bin;%PATH%
@if not exist "%HOME%" @set HOME=%HOMEDRIVE%%HOMEPATH%
@if not exist "%HOME%" @set HOME=%USERPROFILE%
@curl.exe %*
-
curl --version
如果有信息提示,则已安装
4- 安装vundle
在vundle
目录下git clone https://github.com/VundleVim/Vundle.vim.git Vundle.vim
5- 修改配置_vimrc
在vim_cfg
后面加上这些
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=E:\Vim\vimfiles\bundle\Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'L9'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required