標籤:
滑鼠手老是發作,沒辦法。想學習vim盡量減少編碼時使用滑鼠的頻率。安裝好gVim開始安裝Vundle外掛程式,總結下安裝過程和各種遇到的坑:
github上VundleVim倒是有說明 Windows Setup 的步驟,但可能太久沒有更新了遇到好幾個坑:
1. msysgit 這個項目的github上是這樣說的:
Git for Windows 1.x was retired on August 18th, 2015, superseded by Git for Windows 2.x. The development environment of Git for Windows 2.x is no longer maintained in a monolithic Git repository but rather as the Git SDK, a friendly fork of MSys2 pre-configured to ease the development of Git for Windows.
真汗,還安裝這個。個人下載了Git for Window v2.8 64bit安裝。
2. 那個curl.cmd批處理指令碼也是坑爹,我win8.1下竟然運行錯誤:
for /F "delims=" %%I in ("%~dp0..") do @set git_install_root=%%~fI
提示:此處不應有%%I。 呵呵,指令碼就是設定curl.exe的路徑到path環境變數中,Git for Window內建了curl.exe,
參考著自己設一下吧,在“Git\mingw64\bin”中。
3. Vundle叫你改的_vimrc檔案,又是%HOME%,又是%USEPROFILE%的。和vim放一起不是很好嗎?果斷改為:
set rtp+=$VIM/vimfiles/bundle/Vundle.vim
call vundle#begin(‘$VIM/vimfiles/bundle/‘)
4. 運行gvim,輸入:PluginInstall,突然左邊分割出一個視窗,還以為在幹啥,搞了半天。原來是在下載外掛程式。好吧,搞定了。
Windows下Vundle安裝