This commit is contained in:
2025-01-20 10:25:05 +01:00
parent c3d1fb646a
commit 912b12e2dd
5 changed files with 41 additions and 12 deletions

View File

@@ -7,4 +7,10 @@ local map = vim.keymap.set
map("n", ";", ":", { desc = "CMD enter command mode" })
map("i", "jk", "<ESC>")
map("n","<C-PageDown>", "<cmd>bnext<cr>", { desc = "Next buffer" })
map("n","<C-PageUp>", "<cmd>bprevious<cr>",{ desc = "Previous buffer" })
map('n',"gra", function() vim.lsp.buf.code_action() end, {desc = "vim.lsp.buf.code_action()" })
map("x","gra", function() vim.lsp.buf.code_action() end, { desc = "vim.lsp.buf.code_action()" })
map("n","grn", function() vim.lsp.buf.rename() end ,{desc = "vim.lsp.buf.rename()" })
map("n","grr", function() vim.lsp.buf.references() end ,{ desc = "vim.lsp.buf.references()" })
-- map({ "n", "i", "v" }, "<C-s>", "<cmd> w <cr>")