Skip to content

Instantly share code, notes, and snippets.

Last active Nov 26, 2020
What would you like to do?
" Required packages: vim-syntastic flake8
syntax on
filetype plugin on
filetype indent on
set hlsearch
set nowrap
set number
" save file as root
command W :execute ':silent w !sudo tee % > /dev/null' | :edit!
" vim-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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment