1
0
mirror of https://github.com/amix/vimrc synced 2025-06-30 20:05:01 +08:00

Smaller changes to the core vimrcs

Default to Ag (instead of Ack)... Much faster.
Performance improvements due to smaller history.
Don't remember the position in file (this slows Vim down considerably.
This commit is contained in:
amix
2015-07-13 11:21:10 +01:00
parent 14babd4799
commit 9a2843c2a5
2 changed files with 24 additions and 14 deletions

View File

@ -116,3 +116,13 @@ nnoremap <silent> <leader>z :Goyo<cr>
" => Syntastic (syntax checker)
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
let g:syntastic_python_checkers=['pyflakes']
let g:syntastic_javascript_checkers = ['jshint']
" Custom CoffeeScript SyntasticCheck
func! SyntasticCheckCoffeescript()
let l:filename = substitute(expand("%:p"), '\(\w\+\)\.coffee', '.coffee.\1.js', '')
execute "e " . l:filename
execute "SyntasticCheck"
execute "Errors"
endfunc
nnoremap <silent> <leader>l :call SyntasticCheckCoffeescript()<cr>