Minor changes
This commit is contained in:
parent
4b7a427429
commit
9ae83fd515
6
vimrc
6
vimrc
|
@ -255,6 +255,8 @@ cnoremap w; w
|
||||||
cnoremap W; w
|
cnoremap W; w
|
||||||
cnoremap q; q
|
cnoremap q; q
|
||||||
cnoremap Q; q
|
cnoremap Q; q
|
||||||
|
" Avoid accidental Ex-mode
|
||||||
|
:map Q <Nop>
|
||||||
|
|
||||||
" Clearing highlighted search
|
" Clearing highlighted search
|
||||||
nmap <silent> <leader>/ :set hlsearch! hlsearch?<CR>
|
nmap <silent> <leader>/ :set hlsearch! hlsearch?<CR>
|
||||||
|
@ -369,7 +371,7 @@ if executable('ag')
|
||||||
" use ag
|
" use ag
|
||||||
set grepprg=ag\ --nogroup\ --nocolor
|
set grepprg=ag\ --nogroup\ --nocolor
|
||||||
" use ag for CtrlP
|
" use ag for CtrlP
|
||||||
let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'
|
let g:ctrlp_user_command = 'ag %s -l --nocolor --nogroup -g ""'
|
||||||
" ag is fast enough we don't need cache
|
" ag is fast enough we don't need cache
|
||||||
let g:ctrlp_use_caching = 0
|
let g:ctrlp_use_caching = 0
|
||||||
endif
|
endif
|
||||||
|
@ -433,6 +435,8 @@ let g:syntastic_python_checkers = ['flake8']
|
||||||
let g:syntastic_python_flake8_args='--max-line-length=80'
|
let g:syntastic_python_flake8_args='--max-line-length=80'
|
||||||
" let g:syntastic_python_checkers = ['pep8']
|
" let g:syntastic_python_checkers = ['pep8']
|
||||||
" let g:syntastic_python_pep8_args='--ignore=E501'
|
" let g:syntastic_python_pep8_args='--ignore=E501'
|
||||||
|
" let g:syntastic_python_checkers = ['jshint']
|
||||||
|
" let g:syntastic_javascript_jshint_args='--ignore=E501'
|
||||||
|
|
||||||
" Pymode
|
" Pymode
|
||||||
let g:pymode_lint = 1
|
let g:pymode_lint = 1
|
||||||
|
|
Loading…
Reference in New Issue