From 8cead121ce2d2e9ce252c5c9acb9974ddd95099f Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 1 Aug 2016 17:10:53 +0200 Subject: vim: Add phpqa, adapt unite ,q mapping Signed-off-by: Florian Pritz --- .vimrc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 34a0953..32848d4 100644 --- a/.vimrc +++ b/.vimrc @@ -96,6 +96,7 @@ Plugin 'sjl/splice.vim' Plugin 'LaTeX-Box-Team/LaTeX-Box' Plugin 'chase/vim-ansible-yaml' Plugin 'vim-php/tagbar-phpctags.vim' +Plugin 'joonty/vim-phpqa.git' call vundle#end() syntax on @@ -196,6 +197,12 @@ let g:tagbar_autoclose=1 " syntastic let g:syntastic_check_on_open = 1 +" phpqa +let g:phpqa_messdetector_autorun = 0 +let g:phpqa_codesniffer_autorun = 0 +let g:phpqa_codecoverage_autorun = 0 +let g:phpqa_codecoverage_file = "code-coverage-report.xml" + " unite let g:unite_source_history_yank_enable = 1 call unite#filters#matcher_default#use(['matcher_fuzzy']) @@ -218,7 +225,7 @@ endfunction autocmd FileType unite call s:unite_settings() nnoremap w :Unite -buffer-name=files -start-insert file -nnoremap q :Unite -buffer-name=files -start-insert file_rec/async:! +nnoremap qq :Unite -buffer-name=files -start-insert file_rec/async:! nnoremap y :Unite -buffer-name=yank history/yank nnoremap b :Unite -buffer-name=buffer buffer -- cgit v1.2.3-24-g4f1b