gVim vundle

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.vimgit


5- 修改配置_vimrcvim_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
相關文章
相關標籤/搜索