A convenient way of installing(compiling) VIM with YCM

本文记录了作者首次下载并配置VIM编辑器的过程,包括安装Git、设置Python环境路径、克隆VIM源码及插件、安装YouCompleteMe等步骤。通过此过程,作者分享了使用GitHub进行代码管理的经验。

Ah, while I am still downloading LLVM from github(very slow.. and very large in size).

I come with my new ideas to write this new blog..

Because learning to configure VIM forces me to learn git.. And now I think why haven't I came across github earlier?.. Of course I have, but maybe it's so-called さだめ..

First download a binary of git, an nmake(vs installed..), or maybe I can try make + g++/gcc?.. I will give a try later..

Python installed, with its path set to env-path.

  1. use git to clone VIM source..: git clone https://github.com/vim/vim some-empty/notexist-folder-locally
  2. compile VIM using nmake..: nmake -f Make_mvc.mak GUI=yes PYTHON3= PYTHON3_VER= DYNAMIC_PYTHON3= CPU=AMD64 [for more info, see *Make_mvc.mak*]
  3. clone vundle source.. : git clone https://github.com/vundlevim/vundle.vim some-empty/notexist-folder-locally\vimfiles\bundle\vundle.vim
  4. open gvim.exe and run by :PluginInstall
  5. git submodule update --init --recursive
  6. Compile YCM: python install.py --msvc= --arch=32/64 --clang-completer

Done.

转载于:https://www.cnblogs.com/sansna/p/5478621.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值