Skip to content

Instantly share code, notes, and snippets.

@kthy
Last active October 26, 2018 11:35
Show Gist options
  • Save kthy/2f20263e5d0aa88073bf40431b2a3e74 to your computer and use it in GitHub Desktop.
Save kthy/2f20263e5d0aa88073bf40431b2a3e74 to your computer and use it in GitHub Desktop.
Vim-8.0 config for WSL Ubuntu 18.04
set nocompatible
set expandtab
set tabstop=4
set shiftwidth=4
set smarttab
set nobackup
set nu!
set cursorline
set visualbell
" https://raw.githubusercontent.com/mhinz/vim-janah/master/colors/janah.vim
colorscheme janah
" pathogen
execute pathogen#infect()
syntax on
filetype plugin indent on
" 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_checkers = ['bandit -s B101', 'flake8', 'pylint']
let g:syntastic_markdown_checkers = ['mdl']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment