A convenient way of installing(compiling) VIM with YCM

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. Compile YCM: python install.py --msvc= --arch=32/64 --clang-completer

Done.

时间: 2024-10-29 19:06:48

A convenient way of installing(compiling) VIM with YCM的相关文章

我的vim 配置(ycm没有生效)备注以后研究

" An example for a vimrc file. " author holen " data 2016-6 " Use Vim settings, rather than Vi settings (much better!). " This must be first, because it changes other options as a side effect. set nocompatible " allow backspa

linux 下vim安装ycm插件出现 Your C++ compiler does NOT support C++11

ycm被誉为vim里最好用的补全插件,忍不住想试一下,跟着安装步骤,走到这一步的时候 一直出现 Your C++ compiler does NOT support C++11 的错误 去github的ycm里查issue,发现有人遇到了跟我一样的问题,处理方式如下 我看了自己电脑里的gcc的版本,发现居然是4.4.7的,老的不能支持c++11,于是先去更新了gcc到4.8,网上有方法. 然后用 rpm -qa | grep c++ 的命令,找了一下c++的包,rpm -ql + 包名,找到了c

Vim的YCM(YouCompleteMe)插件配置

最后结果和文件在 http://gist.github.com/zhuzhenpeng/5939304c8f298c82352b GCC.Clang.llvm概念和关系 编译器分前端和后端 前端主要进行语法和语义分析,输入是源代码,输出是一棵抽象的语法树,平时大家说的parser就是指编译器的前端 后端主要优化中间代码和生成机器代码,输入是前端产出的语法树,输出是机器代码,Optimizer和Code generator 就是指后端 GCC既包含前前端和后端,clang是前端,llvm是后端.人

安装vim的ycm

环境centos 6.7 vim 7.3 安装vundle Vundle(Vim bundle)是一个Vim的插件管理器.它是把git操作整合进去,用户需要做的只是去GitHub上找到自己想要的插件的名字,安装.更新和卸载都可有vundle来完成了. GitHub:https://github.com/gmarik/Vundle.vim git clone https://github.com/gmarik/vundle.git .vim/bundle/vundle 然后在用户主目录下新建一个名

vim安装 YCM 过程记录

YCM(YouComplateMe) 属于Vim中大神级的插件,提供了类似于巨硬爸爸的VS中的代码补全,但是其安装方式也是比较复杂,因此特意写下一篇记录,记录下我自己如何安装这一插件的过程: 检查自己的vim版本是否在7.9版本之上.是否支持Pthon很幸运我的vim版本是8.0 vim --version #查看vim版本以及是否支持Python 支持的话会在前方出现一个‘+’字符 2.  安装各类可能需要的环境 编译 YouCompleteMe 插件时需要依赖 cmake 构建 Makefi

从源码Build vim

How to build vim 1. Build步骤 git clone --depth 1 https://github.com/vim/vim.git # download the source code cd vim/src make distclean # clean workspace if you build vim before ./configure --enable-pythoninterp --enable-rubyinterp --enable-python3interp

Building Vim from source(转)

Compiling Vim from source is actually not that difficult. Here's what you should do: First, install all the prerequisite libraries, including Git. For a Debian-like Linux distribution like Ubuntu, that would be the following: sudo apt-get install lib

Notes over compiling..

When compiling VIM on windows, using nmake may be a better choice.. Because so far my attempts to compile VIM using mingw32/mingw-w64/make+gcc failed .. It could be that I didnot set the parameters correctly, but more likely is that it's far more com

Mac OS 上 VIM 8.0 安装体验

VIM 8.0 赶在中秋前发布 The best way to install Vim on Unix is to use the sources. This requires a compiler and its support files. Compiling Vim isn't difficult at all. You can simply type "make install" when you are happy with the default features. Edi