Use correct syntax
This commit is contained in:
parent
3bfd97c7b0
commit
883a07c08a
1 changed files with 12 additions and 7 deletions
19
vim/.vimrc
19
vim/.vimrc
|
|
@ -17,15 +17,20 @@ autocmd BufWritePre * :%s/\s\+$//e
|
|||
au BufWinLeave *.py mkview
|
||||
au BufWinEnter *.py silent loadview
|
||||
|
||||
au BufNewFile,BufRead *.py;
|
||||
\ set tabstop=4
|
||||
\ set softtabstop=4
|
||||
\ set shiftwidth=4
|
||||
\ set textwidth=79
|
||||
\ set expandtab
|
||||
\ set autoindent
|
||||
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
|
||||
|
||||
" fold methods based on indents
|
||||
" zo to open folds, zc to close
|
||||
set foldmethod=indent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue