From ce80f568a6d8fb4df7c9e60a67177aaa115d24e8 Mon Sep 17 00:00:00 2001 From: Mike Funk Date: Sat, 11 Oct 2014 13:25:47 -0700 Subject: [PATCH 1/2] moved plugins dir to plugin so it will work on vim-plug --- {plugins => plugin}/php-refactoring-toolbox.vim | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {plugins => plugin}/php-refactoring-toolbox.vim (100%) diff --git a/plugins/php-refactoring-toolbox.vim b/plugin/php-refactoring-toolbox.vim similarity index 100% rename from plugins/php-refactoring-toolbox.vim rename to plugin/php-refactoring-toolbox.vim From 02072a70b2c197b56b790d20a7303cf1b3b8d333 Mon Sep 17 00:00:00 2001 From: Mike Funk Date: Sat, 11 Oct 2014 13:39:49 -0700 Subject: [PATCH 2/2] Update README to explain how to install --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a891481..b795ad4 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,11 @@ PHP Refactoring Toolbox for VIM ## Installation -Copy the `php-refactoring-toolbox.vim` in your `~/.vim/plugin` folder. +* [vim-plug](https://github.com/junegunn/vim-plug): `Plug 'adoy/vim-php-refactoring-toolbox'` +* [vundle](https://github.com/gmarik/Vundle.vim): `Plugin 'adoy/vim-php-refactoring-toolbox'` +* [pathogen](https://github.com/tpope/vim-pathogen): `git clone https://github.com/adoy/vim-php-refactoring-toolbox.git ~/.vim/bundle/` +* or just copy the `plugin/php-refactoring-toolbox.vim` in your `~/.vim/plugin` folder + If you want to disable the default mapping just add this line in your `~/.vimrc` file