Last active
November 26, 2020 22:16
-
-
Save fabiojb/c00709ac6e36cd2aeba5decab6491030 to your computer and use it in GitHub Desktop.
.vimrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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