Skip to content

Commit

Permalink
[nvim] add go to implementation hotkey
Browse files Browse the repository at this point in the history
  • Loading branch information
n0nvme committed Nov 28, 2024
1 parent 04939ce commit 6fdb388
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dot_config/nvim/lua/n0nvme/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ return {
vim.keymap.set("n", "gd", function()
vim.lsp.buf.definition()
end, opts)
vim.keymap.set("n", "gi", function()
vim.lsp.buf.implementation()
end, opts)
vim.keymap.set("n", "gr", function()
vim.lsp.buf.references()
end, opts)
Expand Down

0 comments on commit 6fdb388

Please sign in to comment.