mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
indent guides
This commit is contained in:
parent
1f4de42e3b
commit
3484243c18
1 changed files with 4 additions and 3 deletions
7
.vimrc
7
.vimrc
|
|
@ -28,6 +28,7 @@ Bundle 'tpope/vim-fugitive'
|
||||||
Bundle 'altercation/vim-colors-solarized'
|
Bundle 'altercation/vim-colors-solarized'
|
||||||
Bundle 'ervandew/supertab'
|
Bundle 'ervandew/supertab'
|
||||||
Bundle 'Raimondi/delimitMate'
|
Bundle 'Raimondi/delimitMate'
|
||||||
|
Bundle 'nathanaelkane/vim-indent-guides'
|
||||||
|
|
||||||
" The rest of your config follows here
|
" The rest of your config follows here
|
||||||
|
|
||||||
|
|
@ -90,9 +91,9 @@ let g:pymode_syntax_space_errors = g:pymode_syntax_all
|
||||||
let g:pymode_folding = 0
|
let g:pymode_folding = 0
|
||||||
|
|
||||||
" Highlight trailing white space and delete on save
|
" Highlight trailing white space and delete on save
|
||||||
autocmd InsertLeave *.py match ErrorMsg '\s\+$'
|
autocmd InsertLeave *.py, *.js, *.c, *.h match ErrorMsg '\s\+$'
|
||||||
autocmd InsertEnter *.py call clearmatches()
|
autocmd InsertEnter *.py, *.js, *.c, *.h call clearmatches()
|
||||||
autocmd BufWritePre *.py :%s/\s\+$//e
|
autocmd BufWritePre *.py, *.js, *.c, *.h :%s/\s\+$//e
|
||||||
|
|
||||||
" automatically change window's cwd to file's dir
|
" automatically change window's cwd to file's dir
|
||||||
set autochdir
|
set autochdir
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue