1. Install Vim
Yum-y Install Vim
2. Install the Vundle plugin Manager
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/vundle.vim
3. Edit Personal VIMRC
# VI ~/.VIMRC
Set nocompatible ' be improved, requiredfiletype off ' required ' set the runtime Path to Inc Lude Vundle and Initializeset rtp+=~/.vim/bundle/vundle.vimcall vundle#begin () "Let Vundle manage Vundle, RequiredPlugin ' Vundlevim/vundle.vim ' Plugin ' valloric/youcompleteme '
Plugin ' Vim-airline/vim-airline '
Plugin ' Vim-airline/vim-airline-themes ' "All of your Plugins must be added before the following Linecall Vundle#end () ' Requiredfiletype plugin indent on ' required ' to ignore plugin indent changes, instead use: ' FileType plugin on "Brief Help":P luginlist-lists configured plugins ":P Lugininstall-installs plugins; Append '! ' to update or just:P luginupdate ":P luginsearch foo-searches for foo; Append '! ' to refresh local cache ':P luginclean-confirms removal of unused plugins; Append '! ' to Auto-approve removal "" See:h vundle for more details or wiki for FAQ "Put your non-plugin stuff after this Line
4. Installing plugins
Vim +plugininstall +qall
5. Compiling youcompleteme
Installing Mono (. NET runtime Environment)
RPM--import "http://keyserver.ubuntu.com/pks/lookup?op=get&search= 0x3fa7e0328081bff6a14da29aa6a19b38d3d831ef "
Yum-y Install Yum-utilsyum-config-manager--add-repo http://download.mono-project.com/repo/centos/
Yum-y Install automake gcc gcc-c++ kernel-devel cmake python-develcd ~/.vim/bundle/youcompleteme./install.py-- Clang-completer--omnisharp-completer--gocode-completer
Some resources:
All things Vim and neovim!
Https://github.com/mhinz/vim-galore
My concise vim simple configuration