Created
June 12, 2016 20:51
-
-
Save kranzrm/9092b5ad3cd59bc033e9c9037b2c5acb to your computer and use it in GitHub Desktop.
Vim RC script
This file contains 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
set bg=dark | |
set ts=4 | |
set expandtab | |
set autoindent | |
set shiftwidth=4 | |
set softtabstop=4 | |
set showmatch | |
let python_highlight_all = 1 | |
syntax on | |
"filetype indent plugin on | |
" | |
"" Use the below highlight group when displaying bad whitespace is desired. | |
highlight BadWhitespace ctermbg=red guibg=red | |
" Display tabs at the beginning of a line in Python mode as bad. | |
" au BufRead,BufNewFile *.py,*.pyw match BadWhitespace /^\t\+/ | |
" " Make trailing whitespace be flagged as bad. | |
" au BufRead,BufNewFile *.py,*.pyw,*.c,*.h match BadWhitespace /\s\+$/ | |
autocmd BufNewFile,BufRead *.md set filetype=markdown |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment