Vim: Enable a few config options for Python

This commit is contained in:
Salt 2017-11-29 11:34:52 -06:00
parent ebc0652adc
commit a0e06d18dd

11
.vimrc
View File

@ -13,9 +13,20 @@ set autoread
" Use XA_PRIMARY clipboard by default " Use XA_PRIMARY clipboard by default
set clipboard=unnamed set clipboard=unnamed
" Python stuff
au BufNewFile,BufRead *.py " Set up nice PEP8 indentation
\ set tabstop=4 |
\ set softtabstop=4 |
\ set shiftwidth=4 |
\ set textwidth=79 |
\ set expandtab |
\ set autoindent |
\ set fileformat=unix
" Miscellaneous options " Miscellaneous options
set incsearch " Search while you type set incsearch " Search while you type
set number relativenumber " Relative line numbering set number relativenumber " Relative line numbering
set encoding=utf-8
" Enable 256-color support " Enable 256-color support
" All of my machines support 256-color so this should be fine " All of my machines support 256-color so this should be fine