Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (20 sloc) 1.062 kb
Ruby Refactoring Tool for Vim
I love vim! It's my editor of choice when I am developing software.
Currently (for the last 4 years at least) I have been working mainly
with the Ruby Programming Language.
I have been missing a refactoring tool for a while (like the ones you
can find in IDE's) while I am developing, but I never had the nerve
to dwell into vim script to actually code my own.
Recently (a couple of weeks ago) Gary Bernhardt presented his vim
configuration in the Software Craftsmanship User Group UK and he
showed us the two refactoring patterns he has written in vim script.
Initially I just thought "cool", but it didn't really sink in until
a couple of weeks later.
So now I have decided to code this in vim script, but I am not sure how far
I will go with it (clone at your own risk).
Implemented patterns:
- Add Parameter: <leader>rap
- Extract Local Variable: <leader>relv (works if the variable is selected in visual mode)
- Extract Method: <leader>rem (visual mode selection)
- Inline Temp: <leader>rit
Enrique Comba Riepenhausen
Jump to Line
Something went wrong with that request. Please try again.