Vim

reference

NAME URL DES
VundleVim https://github.com/VundleVim/Vundle.vim Vim plugin manager
ale https://github.com/w0rp/ale
vim-airline https://github.com/vim-airline/vim-airline

Plugin Manager

Vundle is short for Vim bundle and is a Vim plugin manager.

mkdir ~/.vim/bundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim ~/.vimrc

In .vimrc, this is my config:

set nocompatible
filetype off

set ts=4
set expandtab

set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

Plugin 'VundleVim/Vundle.vim'
Plugin 'https://github.com/Valloric/YouCompleteMe.git'
Bundle 'luochen1990/rainbow'
let g:rainbow_active = 1
Plugin 'w0rp/ale'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
call vundle#end()
filetype plugin indent on

Then build:

vim +PluginInstall +qall

# options: PluginClean, PluginUpdate, PluginList

Other useful settings:

set nu!
set autoindent #自动对齐
syntax on
Last Updated: 4/28/2019, 9:57:40 AM