summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--.gitmodules3
m---------.vim/bundle/vim-phpqa0
-rw-r--r--.vimrc9
3 files changed, 11 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules
index 11bf528..f35357d 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -91,3 +91,6 @@
[submodule ".vim/bundle/vimshell.vim"]
path = .vim/bundle/vimshell.vim
url = https://github.com/Shougo/vimshell.vim.git
+[submodule ".vim/bundle/vim-phpqa"]
+ path = .vim/bundle/vim-phpqa
+ url = https://github.com/joonty/vim-phpqa.git
diff --git a/.vim/bundle/vim-phpqa b/.vim/bundle/vim-phpqa
new file mode 160000
+Subproject 2e97eb0c74bbafd408d7bd03f589144441517a4
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>