vim-rails is a powerful plugin by Tim Pope designed to enhance the development experience of Ruby on Rails applications inside Vim. It understands the Rails directory structure (app, config, db, lib, etc) and allows you to quickly jump between corresponding files (for example from a model to its test, or a view to its controller) via convenient mappings. It also augments Vim’s built-in file navigation (for example via gf) so that links in embedded Ruby templates or route definitions can open the correct destination. In addition to navigation, the plugin provides commands to generate scaffolding, migrate the database, switch environments, and so on, making many common Rails tasks accessible without leaving the editor. The plugin emphasizes staying within Vim and minimizing context-switching, which boosts productivity for Rails developers.

Features

  • Enhanced gf (go-to-file) behaviour tuned for Rails file naming and conventions
  • Commands to generate Rails scaffolding, migrate database, open console, etc
  • Recognize routes, controllers, models and other Rails-specific constructs for quick navigation
  • Works with embedded Ruby (ERB/Haml) to follow link definitions, partials, assets
  • Minimal setup: once installed in a Rails project it “just works” with sensible defaults
  • The plugin emphasizes staying within Vim and minimizing context-switching

Project Samples

Project Activity

See All Activity >

Categories

Code Editors

Follow rails.vim

rails.vim Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of rails.vim!

Additional Project Details

Operating Systems

Linux, Windows

Registered

2025-10-14