pechorin / any-jump.vim

Jump to any definition and references 👁 IDE madness without overhead 🚀
1.07k stars 40 forks source link

go to definition support #91

Open trashhalo opened 3 years ago

trashhalo commented 3 years ago

https://vim.fandom.com/wiki/Go_to_definition_using_g

Is there a way to plug into the default vim bindings?

trashhalo commented 3 years ago

I was curious how this worked in the vim-go plugin and they just nmap gd. Im just going to do that in my vimrc, feel free to close if you dont want to do that in plugin:

https://github.com/fatih/vim-go/blob/00c5f2dad170131c0c850dbf331d63ddf515116d/ftplugin/go.vim#L41