Windows下Vundle安装
2016-04-03 12:16
344 查看
鼠标手老是发作,没办法。想学习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,突然左边分割出一个窗口,还以为在干啥,搞了半天。原来是在下载插件。好吧,搞定了。
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,突然左边分割出一个窗口,还以为在干啥,搞了半天。原来是在下载插件。好吧,搞定了。
相关文章推荐
- linux 安装libevent
- HDU1517 巴什博弈变形
- psy & vr
- JAVA动态规划(二)--最长公共子序列问题(LCS_subSequence)的三种解法与最长公共子字符串(LCS_subString)的两种解法与最长回文串(LongestPalindrome)
- 筛法求素数
- Swift笔记 label 显示富文本或HTML
- maven之可视化项目依赖
- 解读为毛我的iPhone5老是升级不了iOS9.3新系统
- 使用Eclipse写JSP如何自动倒包
- hdu 5656 CA Loves GCD(dp+gcd)(Bestcoder #78 1002)
- js数据类型--对象&数组
- 第5周学习进度
- C/C++ 读入一行字符串
- Libgdx之TexturePacker TextureAtlas
- 为Ubuntu 安装Transmission 2.90
- C#、.Net代码精简优化(空操作符(??)、as、string.IsNullOrEmpty() 、 string.IsNullOrWhiteSpace()、string.Equals()、System.IO.Path 的用法)
- Python 编程风格
- APP Inventor网络微数据库tinywebdb的增删查改
- Settings License
- hadoop hdfs 操作