rails.vim: Ruby on Rails power tools
Vim script Ruby
Pull request Compare This branch is 14 commits ahead, 876 commits behind tpope:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
autoload
doc
plugin
.gitignore
README
README.rdoc
Rakefile

README.rdoc

Rails.vim

rails.vim.tpope.net/

Basic support:

Usage

  • Rloop - search loops definitions at app/loops

  • Ruploader - search loops definitions at app/uploader

  • Rcell - search cell definitions at app/cells

  • Rfactory - search factory definitions at spec/factories

  • Rjob - search factory definitions at app/jobs

Rspec - without params jump to relative spec definition

Features

Support fixture replacements

Installation

To install, simply copy autoload/rails.vim, plugin/rails.vim, and doc/rails.txt to the appropriate directories in ~/.vim. Alternatively, `rake install` may be used.

See doc/rails.txt for documentation.

Copyright Tim Pope. This plugin is licensed under the same terms as Vim itself. No warranties, expressed or implied.