Nvim: Move some keybinds to which-key

This commit is contained in:
Marko Korhonen 2023-06-27 12:39:51 +03:00
parent 89d4ea3737
commit e141efbbe4
5 changed files with 19 additions and 14 deletions

View file

@ -83,7 +83,7 @@ function m.map_keys()
rn = { vim.lsp.buf.rename, "Rename symbol" },
ca = { vim.lsp.buf.code_action, "Code action" },
e = { vim.diagnostic.open_float, "Open diagnostics" },
f = { vim.lsp.buf.format, "Format" },
F = { vim.lsp.buf.format, "Format with LSP" },
},
K = { vim.lsp.buf.hover, "Hover" },
["["] = { d = { vim.diagnostic.goto_prev, "Previous diagnostic" } },