From 1b24a6965fe4cacc8de4407c47e6db7552607a0b Mon Sep 17 00:00:00 2001 From: "Nek (Maxime Veber)" <nek.dev@gmail.com> Date: Tue, 15 Jul 2014 17:09:08 +0200 Subject: [PATCH] Updated vimrc & bashrc --- .bashrc | 1 + .vimrc | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index f786884..4b1b3fe 100644 --- a/.bashrc +++ b/.bashrc @@ -58,3 +58,4 @@ alias sf='php app/console --ansi' export TERM=screen-256color export PATH="$PATH:$HOME/.composer/vendor/bin" export PATH="$PATH:$HOME/.gem/ruby/2.1.0/bin" + diff --git a/.vimrc b/.vimrc index 9282bdb..8593ce2 100644 --- a/.vimrc +++ b/.vimrc @@ -15,13 +15,15 @@ Plugin 'kien/ctrlp.vim.git' Plugin 'arnaud-lb/vim-php-namespace.git' Plugin 'Lokaltog/vim-powerline.git' Plugin 'tpope/vim-fugitive.git' - +Plugin 'airblade/vim-gitgutter' " Here should be other plugins " Bundle 'joonty/vim-phpqa.git' -Bundle 'tobyS/pdv' Bundle 'danro/rename.vim' +Bundle 'tobyS/vmustache' +Bundle 'SirVer/ultisnips' +Bundle 'tobyS/pdv' " All of your Plugins must be added before the following line call vundle#end() " required @@ -140,5 +142,13 @@ endfunc " Mapping of the last function on CTRL+N nnoremap <C-n> :call NumberToggle()<cr> +" Config to set phpdocblock on CTRL+M +nmap <Leader>d :call pdv#DocumentWithSnip()<CR> +let g:pdv_template_dir = $HOME ."/.vim/bundle/pdv/templates_snip" +nmap <S-j> <C-y><CR> +" Git Gutter +" let g:gitgutter_avoid_cmd_prompt_on_windows = 0 +let g:gitgutter_sign_column_always = 1 +let g:gitgutter_realtime = 1 -- GitLab