mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat(nvim, vscode): Add ga for quickfix
This commit is contained in:
parent
8f452172a5
commit
85ac355294
2 changed files with 3 additions and 0 deletions
|
|
@ -4,6 +4,8 @@ local M = {
|
||||||
{ keys = "gD", cmd = vim.lsp.buf.declaration, opts = { desc = "Goto Declaration" } },
|
{ keys = "gD", cmd = vim.lsp.buf.declaration, opts = { desc = "Goto Declaration" } },
|
||||||
{ keys = "gr", cmd = vim.lsp.buf.references, opts = { desc = "Goto References" } },
|
{ keys = "gr", cmd = vim.lsp.buf.references, opts = { desc = "Goto References" } },
|
||||||
{ keys = "gi", cmd = vim.lsp.buf.implementation, opts = { desc = "Goto Implementation" } },
|
{ keys = "gi", cmd = vim.lsp.buf.implementation, opts = { desc = "Goto Implementation" } },
|
||||||
|
{ keys = "<leader>,", cmd = vim.lsp.buf.code_action, opts = { desc = "Code Action" } },
|
||||||
|
{ keys = "ga", cmd = vim.lsp.buf.code_action, opts = { desc = "Code Action" } },
|
||||||
}
|
}
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,7 @@ noremap gpt editor.action.peekTypeDefinition
|
||||||
noremap gh editor.action.showDefinitionPreviewHover
|
noremap gh editor.action.showDefinitionPreviewHover
|
||||||
noremap gr editor.action.goToReferences
|
noremap gr editor.action.goToReferences
|
||||||
noremap gpr editor.action.referenceSearch.trigger
|
noremap gpr editor.action.referenceSearch.trigger
|
||||||
|
noremap ga editor.action.quickFix
|
||||||
|
|
||||||
|
|
||||||
" Requires matchit by redguardtoo
|
" Requires matchit by redguardtoo
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue