Rbfactor – Refactoring Ruby with Vim
Introduction
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.
Available refactorings
- Extract method
- Extract variable
- Extract constant
- Extract RSpec let
- Add method argument
- Tranform inline modifier into block modifier
For more information, see :help rbfactor
.
Installation
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
.
Other
Note on Patches/Pull Requests
- Fork the project.
- Make your feature addition or bug fix.
- Send me a pull request. Bonus points for topic branches.
Issues
Please report any issues, defects or suggestions in the Github issue tracker.
What has changed?
See the HISTORY file for a detailed changelog.
Credits
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
.