Youcompleteme-vim Complete plug-in installation

Source: Internet
Author: User
Tags git clone

This complements the plug-in from the name to see very greasy harm ~

  1. System environment: Ubuntu64, ready to install Youcompleteme
  2. Confirm Vim Version: Open vim to see the version number, need to be greater than 7.4.143
  3. Confirm that Vim supports Python: Enter vim, input: Echo has (' python ') | | Has (' Python3 '), the result needs to be 1
  4. Installing Vundle:git clone Https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/vundle.vim
  5. To edit ~/.VIMRC, install various plugins using Vundle:
     1   set nocompatible  2   filetype off  3  set Rtp+=~/.vim/bundle/vundle.vim  4   call Vundle#begin ()  5  Plugin  "  Vundlevim/vundle.vim   " 6  Plugin Span style= "COLOR: #800000" > " valloric/youcompleteme  "  7   call Vundle#end ()  Span style= "COLOR: #008080" >8  filetype plugin indent on 
  6. re-open vim, enter: Plugininstall, wait for the done! successful installation flag to appear.
  7. Download pre-built Binaries (CLANG+LLVM) from http://llvm.org/releases/download.html, unzip into the directory and copy to the system directory, then configure the soft link, Finalizing the clang version number indicates that Clang is the latest version of
     1  tar  ZXVF Clang+llvm-3.7 . 0 -amd64-ubuntu-14.04  ... tar  .gz  2  cd clang+llvm-3.7 . 0 -amd64-ubuntu-14.04  3  sudo  CP -R */usr/4  sudo  ln -sf/usr/bin/clang++/etc/alternatives/c++5  clang--version 
  8.   Compile youcompleteme

     1  CD ~/.vim/bundle/ youcompleteme  2  mkdir   Build  3  CD build  4  cmake-g "  unix makefiles   "-duse_system_libclang=on. ~/.vim/bundle/youcompleteme/third_party/ycmd/cpp  5  make  ycm_core-j4  
  9. Configuration. ycm_extra_conf.py

    1 echo | Clang-v-e-x C + +-2 vim ~/.vim/bundle/youcompleteme/third_party/ycmd/cpp/ycm/. Ycm_extra_ conf.py3 Insert Flags: ' Isystem'/usr/include/, (writes the Echo result, the last one does not ', ')
  10. Configuration. VIMRC
    1 ' ~/.vim/bundle/youcompleteme/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py '

    Well, the installation is here, the use of the specific will often be used to check the

Youcompleteme-vim Complete plug-in installation

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.