summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-08-01 17:10:53 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-08-01 17:10:53 +0200
commit8cead121ce2d2e9ce252c5c9acb9974ddd95099f (patch)
tree4b7a52deaa7c6a6ce7270a143c8d60244921fd5a /.vimrc
parente5e9f552d6d6457b9395de1cd85f7bbbca57d4bb (diff)
downloaddotfiles-8cead121ce2d2e9ce252c5c9acb9974ddd95099f.tar.gz
dotfiles-8cead121ce2d2e9ce252c5c9acb9974ddd95099f.tar.xz
vim: Add phpqa, adapt unite ,q mapping
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc9
1 files changed, 8 insertions, 1 deletions
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 <leader>w :<C-u>Unite -buffer-name=files -start-insert file<cr>
-nnoremap <leader>q :<C-u>Unite -buffer-name=files -start-insert file_rec/async:!<cr>
+nnoremap <leader>qq :<C-u>Unite -buffer-name=files -start-insert file_rec/async:!<cr>
nnoremap <leader>y :<C-u>Unite -buffer-name=yank history/yank<cr>
nnoremap <leader>b :<C-u>Unite -buffer-name=buffer buffer<cr>