Rbfactor is a set of functions to make refactoring Ruby code in Vim a little easier. It provides transformation functions and some keymaps to use them.
- Extract method
- Extract variable
- Extract constant
- Extract RSpec let
- Add method argument
- Tranform inline modifier into block modifier
For more information, see :help rbfactor
.
If you don't have a preferred installation method, I recommend installing pathogen.vim, and then simply copy and paste:
cd ~/.vim/bundle
git clone git://github.com/avdgaag/vim-rbfactor.git
Once help tags have been generated, you can view the manual with
:help rbfactor
.
- Fork the project.
- Make your feature addition or bug fix.
- Send me a pull request. Bonus points for topic branches.
Please report any issues, defects or suggestions in the Github issue tracker.
See the HISTORY file for a detailed changelog.
Created by: Arjan van der Gaag
URL: http://arjanvandergaag.nl
Project homepage: https://github.com/avdgaag/vim-rbfactor
Date: November 2013
License: Same as Vim. See :help license
.