updated personal configs
This commit is contained in:
parent
df3e1e35a9
commit
1580137f32
1 changed files with 22 additions and 1 deletions
|
@ -1,5 +1,26 @@
|
||||||
|
" Basic formatting settings
|
||||||
set listchars=tab:»·,trail:·
|
set listchars=tab:»·,trail:·
|
||||||
set list
|
set list
|
||||||
|
" Turn on line numbering
|
||||||
set number
|
set number
|
||||||
syntax on
|
syntax on
|
||||||
colorscheme monokai
|
colorscheme monokai
|
||||||
|
|
||||||
|
" Enable folding
|
||||||
|
set foldmethod=indent
|
||||||
|
set foldlevel=99
|
||||||
|
|
||||||
|
" Adds proper PEP-8 settings for Python files
|
||||||
|
au BufNewFile,BufRead *.py
|
||||||
|
\ set tabstop=4
|
||||||
|
\ set softtabstop=4
|
||||||
|
\ set shiftwidth=4
|
||||||
|
\ set textwidth=79
|
||||||
|
\ set expandtab
|
||||||
|
\ set autoindent
|
||||||
|
\ set fileformat=unix
|
||||||
|
|
||||||
|
au BufNewFile,BufRead *.js, *.html, *.css
|
||||||
|
\ set tabstop=2
|
||||||
|
\ set softtabstop=2
|
||||||
|
\ set shiftwidth=2
|
||||||
|
|
Loading…
Reference in a new issue