< Back To Home

Spacemacs Command: Jump-to-definition

Published at December 27, 2019

I learned a new trick today on Spacemacs that is super ideal. I was watching a coworker use sublime text 2, and he used a shortcut to jump to the definition of a class. Spacemacs must have that too!

Spacemacs jump-to-definition

You have two options for jumping into a definition. To open in the same window:

, g g

To open in a new window:

, g G


g D

Note: To work in for ruby, you need to bundle install both pry and pry-doc.

Avatar of Author

Evan Dancer

Engineering guy who wrote this.

Evan Dancer

Evan Dancer

Founder of Hailey.
Previously, at Apartment List.
Before, I started Cribspot (YC W15).
I've been running a lot recently.