diff --git a/vimrc b/vimrc index dbb6bac..6e6a7e4 100644 --- a/vimrc +++ b/vimrc @@ -54,7 +54,6 @@ Plugin 'jistr/vim-nerdtree-tabs' Plugin 'raimondi/delimitmate' Plugin 'dietsche/vim-lastplace.git' Plugin 'tomtom/tcomment_vim' -" Plugin 'phpvim/phpcd.vim' call vundle#end() @@ -65,7 +64,6 @@ call vundle#end() syntax on colorscheme Tomorrow-Night-Bright -"colorscheme gruvbox set background=dark if has("autocmd") @@ -81,8 +79,14 @@ set completeopt-=preview " PLUGINS CONFIGURATION """"""""""""""""""""""""""" -" SNIPS -""""""" +" PHP-CS-FIXER " +"""""""""""""""" + +let g:php_cs_fixer_level = 'symfony' + + +" SNIPS " +""""""""" let g:snips_author = "Simon Vieille " let g:snips_email = "simon@deblan.fr" @@ -93,20 +97,20 @@ let g:UltiSnipsJumpForwardTrigger="" let g:UltiSnipsJumpBackwardTrigger="" let g:UltiSnipsEditSplit="vertical" -" CLOSETAG -"""""""""" +" CLOSETAG " +"""""""""""" au Filetype html,xml,xsl,php,jsp,jspf,twig source ~/.vim/bundle/closetag.vim/plugin/closetag.vim -" NERDTree -"""""""""" +" NERDTree " +"""""""""""" let g:nerdtree_tabs_open_on_gui_startup = 2 let g:nerdtree_tabs_open_on_console_startup = 2 let g:nerdtree_tabs_autoclose = 0 -" EMMET -""""""" +" EMMET " +""""""""" let g:user_emmet_expandabbr_key = '' let g:use_emmet_complete_tag = 1 @@ -179,28 +183,30 @@ let g:user_emmet_settings = { \} -" GITGUTTER -""""""""""" +" GITGUTTER " +""""""""""""" let g:gitgutter_max_signs = 1000 -" CTAGS -""""""" +" CTAGS " +""""""""" let Tlist_Process_File_Always = 1 let Tlist_Ctags_Cmd='/usr/bin/ctags' -" PHP COMPLETE -"""""""""""""" +" PHP COMPLETE " +"""""""""""""""" -" CTRLP -""""""" +" CTRLP " +""""""""" + let g:ctrlp_user_command = "/home/simon/bin/vim-find %s " -" NEOCOMPLETE -""""""""""""" +" NEOCOMPLETE " +""""""""""""""" + function! s:my_cr_function() return neocomplete#close_popup() . "\" "return (pumvisible() ? "\" : "" ) . "\" @@ -239,8 +245,9 @@ inoremap pumvisible() ? "\" : "\" inoremap neocomplete#smart_close_popup()."\" inoremap neocomplete#smart_close_popup()."\" -" PDV (DOC) -""""""""""" +" PDV (DOC) " +""""""""""""" + function! PhpSyntaxOverride() hi! def link phpDocTags phpDefine hi! def link phpDocParam phpType