vim config

start from 20151202, I start to build my own vim _(:3

Resources

Articles

Plugins I'm using

ctrlpvim/ctrlp.vim

Fuzzy file, buffer, mru, tag, etc finder

Raimondi/delimitMate

auto-completion for quotes, parens, brackets, etc.

scrooloose/nerdcommenter

intensely orgasmic commenting

scrooloose/nerdtree

A tree explorer plugin for vim.

to toggle the nerdtree window

scrooloose/syntastic

Syntax checking hacks for vim

syntastic_python_checkers=['flake8', 'pep257']

majutsushi/tagbar

browse the tags of the current file and get an overview of its structure

press F8

bling/vim-airline

Status/tabline for vim

junegunn/vim-plug

manage vim plugins

tpope/vim-repeat

enable repeating supported plugin maps with "."

tpope/vim-sensible

sensible.vim: Defaults everyone can agree on

tpope/vim-surround

quoting/parenthesizing made simple

change surround: cs old-surround new-surround delete surround: ds surround you surround: ys text-object surround

bronson/vim-trailing-whitespace

hightlight and remove trailing-whitespace

:FixWhiteSpace

Tips

Set a vertical ruler

in your ~/.vimrc, add the following:

set textwidth=72
set colorcolumn=+1,+8
hightlight ColorColumn ctermbg=DarkGrey

Reference: