From 3ce31193dc5fa38a65c8ee09cbdb5ef8735d5f1e Mon Sep 17 00:00:00 2001 From: Josh Fabean Date: Thu, 12 May 2016 12:58:47 -0500 Subject: [PATCH] added better php syntax for vim --- .nvimrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.nvimrc b/.nvimrc index 0e84917..92bb904 100644 --- a/.nvimrc +++ b/.nvimrc @@ -18,6 +18,7 @@ Plug 'christoomey/vim-tmux-navigator' Plug 'editorconfig/editorconfig-vim' Plug 'Valloric/YouCompleteMe', { 'do': './install.py' } Plug 'mhinz/vim-grepper' +Plug 'tomtom/tcomment_vim' "HTML & CSS Plug 'hail2u/vim-css3-syntax' @@ -34,7 +35,7 @@ Plug 'moll/vim-node' "PHP -Plug 'StanAngeloff/php.vim' +Plug 'shawncplus/phpcomplete.vim' Plug 'tanarurkerem/drupal-snippets' "Stupid Coffee Script Because dummies @@ -83,3 +84,6 @@ nnoremap :bd nnoremap :g#\({\n\)\@<=#.,/\.*[{}]\@=/-1 sort ":h i_CTRL-V +"Make TComment work as I expect +noremap / :TComment +vmap / :TCommentBlock