updated vimrc to have PEP8 python standards by default
This commit is contained in:
parent
239b3e39dd
commit
b0f9112523
1 changed files with 10 additions and 1 deletions
11
.vimrc
11
.vimrc
|
@ -17,9 +17,18 @@ runtime! archlinux.vim
|
|||
filetype plugin on
|
||||
syntax on
|
||||
colorscheme SweetCandy
|
||||
set mouse=a
|
||||
set mouse=r
|
||||
set cursorline
|
||||
set number
|
||||
set relativenumber
|
||||
set background="dark"
|
||||
|
||||
" python PEP 8 standards
|
||||
set textwidth=79 " lines longer than 79 columns will be broken
|
||||
set shiftwidth=4 " operation >> indents 4 columns; << unindents 4 columns
|
||||
set tabstop=4 " a hard TAB displays as 4 columns
|
||||
set expandtab " insert spaces when hitting TABS
|
||||
set softtabstop=4 " insert/delete 4 spaces when hitting a TAB/BACKSPACE
|
||||
set shiftround " round indent to multiple of 'shiftwidth'
|
||||
set autoindent " align the new line indent with the previous line
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue