Updated config

This commit is contained in:
Eduard Urbach 2024-01-21 17:14:47 +01:00
parent 07e063dffb
commit 1468aaccb8
Signed by: eduard
GPG key ID: 49226B848C78F6C8
10 changed files with 91 additions and 81 deletions

View file

@ -26,7 +26,7 @@ map("v", ">", ">gv")
map("n", "gr", vim.lsp.buf.references, "References")
map("n", "gd", vim.lsp.buf.definition, "Definition")
map({ "n", "i" }, "<f1>", vim.lsp.buf.hover, "Hover")
map("n", "<f2>", vim.lsp.buf.rename, "Rename")
map({ "n", "i" }, "<f2>", vim.lsp.buf.rename, "Rename")
map({ "n", "i" }, "<C-f>", vim.lsp.buf.format, "Format")
map("n", "<leader>ca", vim.lsp.buf.code_action, "Code action")