According to the documentation on `:h lsp-quickstart :
Some keymaps are created unconditionally when Nvim starts:
grn is mapped in Normal mode to vim.lsp.buf.rename()
gra is mapped in Normal and Visual mode to vim.lsp.buf.code_action()
grr is mapped in Normal mode to vim.lsp.buf.references()
CTRL-S is mapped in Insert mode to vim.lsp.buf.signature_help()
But none of those are working for me, I can invoke the operations with for example :lua vim.lsp.buf.rename()
but there is no grn
mapping.
I'm using NVIM v0.10.0, surely those mappings should be there right?
I can create the mappings myself with
vim.keymap.set('n', 'grn', vim.lsp.buf.rename)
vim.keymap.set('n', 'gra', vim.lsp.buf.code_action)
vim.keymap.set('n', 'grr', vim.lsp.buf.references)
vim.keymap.set('i', '<C-s>', vim.lsp.buf.signature_help)
but those should be already there
grn
,gra
,grr
manually so that good oldgr
for references (which is used by nearly everyone) starts working again...