/vim_conf

my vim configure

Primary LanguageVim Script

vim_conf

my vim configure

###YouCompleteMe install

  • use vundle manage vim plugins git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim YouCompleteMe Install

  • system: redhat fedora

    yum install cmake
    yum install clang
    

    CentOS must first install epel epel zh, download epel release repository

    rpm -i epel-release-7-5.noarch.rpm
    yum install boost-devel
    yum install python-devel
    

    Note: install others you need

  • ycmd c++ engine libs if you complie llvm yourself, can use ./configure --prefix=/usr/local/llvm --enable-optimized --enable-targets=host-only

    compile ycm_support_lib use system clang cmake -G "Unix Makefiles" -DUSE_SYSTEM_LIBCLANG=ON -DUSE_SYSTEM_BOOST=ON . ~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp

    use self compile clang cmake -G "Unix Makefiles" -DUSE_SYSTEM_BOOST=ON -DPATH_TO_LLVM_ROOT=/usr/local/llvm . ~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp

    make ycm_support_libs

  • Add C-family language and Golang semantic support

    ./install.py --clang-completer --gocode-completer --system-libclang --system-boost