Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go to definition support #91

Open
trashhalo opened this issue Jun 9, 2021 · 1 comment
Open

go to definition support #91

trashhalo opened this issue Jun 9, 2021 · 1 comment

Comments

@trashhalo
Copy link

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

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

@trashhalo
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant