Last active
December 6, 2016 20:13
-
-
Save mrogaski/bb3ea202d234a2f2df8c to your computer and use it in GitHub Desktop.
My favorite .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
colorscheme blue | |
set encoding=utf-8 | |
" enable syntax highlighting | |
syntax enable | |
" show line numbers | |
set number | |
" set tabs to have 4 spaces | |
set ts=4 | |
" indent when moving to the next line while writing code | |
set autoindent | |
" expand tabs into spaces | |
set expandtab | |
" when using the >> or << commands, shift lines by 4 spaces | |
set shiftwidth=4 | |
" show a visual line under the cursor's current line | |
set cursorline | |
" show the right margin | |
set colorcolumn=80 | |
highlight ColorColumn ctermbg=DarkGrey | |
" show the matching part of the pair for [] {} and () | |
set showmatch | |
" enable all Python syntax highlighting features | |
let python_highlight_all = 1 | |
au VimLeave * !echo -ne "\033[0m" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment