Key bindings for buffer nav and m-Enter for code actions
This commit is contained in:
parent
1bb84ebd6d
commit
6e92e847a3
2 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,7 @@ local on_attach = function(args)
|
|||
{ '<Leader>D', vim.lsp.buf.type_definition, "Go to type definition" },
|
||||
{ '<Leader>rn', vim.lsp.buf.rename, "Rename" },
|
||||
{ '<M-x>', vim.lsp.buf.code_action, "Code action" },
|
||||
{ '<M-return>', vim.lsp.buf.code_action, "Code action" },
|
||||
{ '<M-s>', vim.lsp.codelens.run, "Run code lens" },
|
||||
{ 'gr', function() require('telescope.builtin').lsp_references() end,"Go to references" },
|
||||
{ '<M-e>', vim.diagnostic.open_float, "Open diagnostics" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue