otavioschwanck / mood-nvim

A Neovim configuration for Rails and Javascript
90 stars 12 forks source link

Question: How do I go to the definition of the method I'm currently on? #12

Closed coderberry closed 1 year ago

coderberry commented 1 year ago

Thanks again for all your help! I introduced this to my company and they are loving it!!!

coderberry commented 1 year ago

I found it! CTRL+]

otavioschwanck commented 1 year ago

I found it! CTRL+]

you can do in different ways:

gd = go to definition gr = references gt = type definition.

The C-] way is not the best way to do it.

About the go to references, you can navigate the list with ]q and [q (It is a quickfix list).

You can close the quick fix list with SPC q c.

@coderberry