Skip to content

Instantly share code, notes, and snippets.

@crawftv
Last active November 2, 2019 22:50
Show Gist options
  • Save crawftv/b3bffd4017075a0948340a9611135cfc to your computer and use it in GitHub Desktop.
Save crawftv/b3bffd4017075a0948340a9611135cfc to your computer and use it in GitHub Desktop.
vim python
syntax enable
set nu
highlight BadWhitespace ctermbg=red guibg=red
au BufNewFile,BufRead *.py
\ set fileformat=unix |
\ set encoding=utf-8 |
\ match BadWhitespace /\s\+$/
set tabstop=4
set shiftwidth=4
set expandtab
filetype indent on
set autoindent
let python_highlight_all = 1
set clipboard=unnamed
set relativenumber
colo zellner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment