Skip to content

Instantly share code, notes, and snippets.

@mattmakai
Created July 8, 2016 03:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattmakai/45a2bff60d1830b6918a22dbef9a9405 to your computer and use it in GitHub Desktop.
Save mattmakai/45a2bff60d1830b6918a22dbef9a9405 to your computer and use it in GitHub Desktop.
" 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 matching part of the pair for [] {} and ()
set showmatch
" enable all Python syntax highlighting features
let python_highlight_all = 1
" markdown _'s are annoying. dont highlight them
autocmd BufNewFile,BufRead,BufEnter *.markdown :syn match markdownIgnore "_"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment