1
0
Fork 0
mirror of synced 2024-12-02 05:35:35 -05:00
ultimate-vim/my_configs.vim

27 lines
533 B
VimL
Raw Normal View History

2016-01-29 17:45:12 -05:00
" Basic formatting settings
2016-01-29 10:58:35 -05:00
set listchars=tab:»·,trail
set list
2016-01-29 17:45:12 -05:00
" Turn on line numbering
2016-01-29 10:58:35 -05:00
set number
syntax on
2016-01-29 17:45:12 -05:00
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