Learn Vim at your own pace with my self-study Core Vim Course.

Learn more

Learn Vim at your own pace with my self-study Core Vim Course.

Navigating Ruby Files with Vim

I’ve been collaborating with thoughtbot to produce three screencasts about Navigating Ruby Files with Vim. There’s 40 minutes of material in total, and it’s available from today. You can purchase these videos for $19, but they will also be available to thoughtbot Prime subscribers. Check out learn.thoughtbot.com for more details.

The material is split between three videos. Part one covers a few techniques for quickly moving around and selecting blocks of code within a Ruby file. In the second and third parts, I demonstrate some techniques for quickly moving between Ruby files in your project, as well as any bundled gems and Ruby’s standard library. Part two shows how to configure your path so that gf and :find commands work, while part three demonstrates how to get ctags working effortlessly across all your Ruby projects.

If you use Vim to write Ruby, you’re going to pick up some valuable tips from these videos. The material is relevant no matter whether you work on Rails projects or on pure Ruby.

Please support my work on Vimcasts by buying these videos. Thanks!


Browse similar content

Level-up your Vim


Boost your productivity with a Vim training class. Join a public class, or book a private session for your team.

Drew hosted a private Vim session for the shopify team that was one of the best workshops I have ever attended.

John Duff, Director of Engineering at Shopify


Make yourself a faster and more efficient developer with the help of these publications, including Practical Vim (Pragmatic Bookshelf 2012), which has over 50 five-star reviews on Amazon.

After reading it, I've switched to vim as my default editor on a daily basis with no regrets. ★★★★★

Javier Collado

Learn to use Vim efficiently in your Ruby projects

In association with thoughtbot, one of the most well respected Rails consultancies in the world, I've produced a series of screencasts on how to make navigating your Ruby projects with Vim ultra-efficient. Along the way, you’ll also learn how to make Ruby blocks a first-class text object in Vim. This lets you edit Ruby code at a higher level of abstraction. Available to buy from thoughtbot..