Windows下Vundle安裝

來源:互聯網
上載者:User

標籤:

滑鼠手老是發作,沒辦法。想學習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安裝

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.