just ram

stuff I should remember

Using vim to write ruby code? Check out this excellent refactoring plugin

I’ve written a series of posts documenting the excellent vim plugin vim-ruby-refactoring. As you may have guessed from the name, its a Ruby refactoring plugin for vim.

  1. Add Parameter

  2. Inline Temp

  3. Convert Post Conditional

  4. Extract Constant

  5. Extract to Let

  6. Extract Local Variable

  7. Rename Local Variable

  8. Rename Instance Variable

  9. Extract Method

IMPORTANT: When installing the vim-ruby-refactoring plugin, make sure you also install the matchit.vim plugin otherwise some of these refactoring’s will not work.