Look at my vim…

PUBLISHED ON MAY 24, 2017 — 200 words — VIM


Nb: This is a shameless repost of a previous blog about my vim configution.

Lately, I have been using VIM extensively for python development and I came to “finally” added much needed customization to the editor.

Since I’m lazy, I am using pathogen as my plugin manager.

Plugin list

Theme & Colors

.vimrc

below is my .vimrc

execute pathogen#infect()
""""""""
set autoindent
set backspace=indent,eol,start
set complete-=i
set tabstop=4
set shiftwidth=4
set expandtab
set smarttab
set nrformats-=octal
set ttimeout
set ttimeoutlen=100
set laststatus=2
set ruler
set wildmenu
set lazyredraw
set display+=lastline
set autoread
set history=1000
set tabpagemax=50
colorscheme brogrammer
set background=dark
syntax on
set showmatch
filetype off
filetype plugin indent on
set number
set nocompatible
let mapleader = ','
"""""""" SYNTASTIC
"set statusline+=%#warningmsg#
"set statusline+=%{SyntasticStatuslineFlag()}
"set statusline+=%*
"let g:syntastic_always_populate_loc_list = 1
"let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
let g:syntastic_python_flake8_post_args='--ignore=E501,E126,E128'
"""""""" RAINBOW
let g:rainbow_active = 1
"""""""" FOLD
set foldcolumn=1
"""""""" INDENT
let g:indent_guides_guide_size = 1
let g:indent_guides_start_level = 2
let g:indent_guides_enable_on_vim_startup = 1

TAGS: VIM