feat(nvim): simplify keybinds

This commit is contained in:
Moritz Böhme 2024-11-22 16:00:54 +01:00
parent bf7928d3cc
commit 021a7dae5b
Signed by: moritz
GPG key ID: 970C6E89EB0547A9
2 changed files with 4 additions and 4 deletions

View file

@ -66,7 +66,7 @@ in
"conform.nvim" "conform.nvim"
]; ];
keymaps = [ keymaps = [
{ key = "<leader>cf"; action.__raw = ''function() require("conform").format() end''; options.desc = "Format current file"; } { key = "="; action.__raw = ''function() require("conform").format() end''; options.desc = "Format current file"; }
]; ];
}; };

View file

@ -16,9 +16,9 @@ in
keymapsOnEvents = { keymapsOnEvents = {
LspAttach = [ LspAttach = [
{ {
key = "<leader>cc"; key = "<leader>q";
action = "<cmd>Lspsaga code_action<cr>"; action = "<cmd>Lspsaga code_action<cr>";
options.desc = "Code Action"; options.desc = "Quickfix";
options.buffer = true; options.buffer = true;
} }
{ {
@ -28,7 +28,7 @@ in
options.buffer = true; options.buffer = true;
} }
{ {
key = "<leader>cr"; key = "<leader>r";
action = "<cmd>Lspsaga rename<cr>"; action = "<cmd>Lspsaga rename<cr>";
options.desc = "Rename"; options.desc = "Rename";
options.buffer = true; options.buffer = true;