dgsuarez / reruby.vim

Refactor ruby from vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reruby.vim

Ruby refactoring using Reruby inside Vim

Usage

Exposes a single command, :Reruby, so for example

:Reruby rename_const NewName

Will rename the class/module under the cursor to NewName

You can also pass in a text range:

:'<'>Reruby extract_method my_special_method

Will extract my_special_method with that code.

Installation

Install plugin using your preferred method (pathogen et al). Minimum Vim required is Vim 8.

It also requires reruby in $PATH.

About

Refactor ruby from vim


Languages

Language:Vim Script 100.0%