mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat(lsp): additional reference keymaps
This commit is contained in:
parent
c9ab8224f5
commit
7601a7d915
1 changed files with 2 additions and 0 deletions
|
|
@ -42,6 +42,8 @@ function M.get()
|
||||||
},
|
},
|
||||||
{ "]]", function() LazyVim.lsp.words.jump(vim.v.count1) end, has = "documentHighlight", desc = "Next Reference" },
|
{ "]]", function() LazyVim.lsp.words.jump(vim.v.count1) end, has = "documentHighlight", desc = "Next Reference" },
|
||||||
{ "[[", function() LazyVim.lsp.words.jump(-vim.v.count1) end, has = "documentHighlight", desc = "Prev Reference" },
|
{ "[[", function() LazyVim.lsp.words.jump(-vim.v.count1) end, has = "documentHighlight", desc = "Prev Reference" },
|
||||||
|
{ "<a-n>", function() LazyVim.lsp.words.jump(vim.v.count1) end, has = "documentHighlight", desc = "Next Reference" },
|
||||||
|
{ "<a-p>", function() LazyVim.lsp.words.jump(-vim.v.count1) end, has = "documentHighlight", desc = "Prev Reference" },
|
||||||
}
|
}
|
||||||
if LazyVim.has("inc-rename.nvim") then
|
if LazyVim.has("inc-rename.nvim") then
|
||||||
M._keys[#M._keys + 1] = {
|
M._keys[#M._keys + 1] = {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue