feat(nvim): simplify keybinds
This commit is contained in:
parent
bf7928d3cc
commit
021a7dae5b
2 changed files with 4 additions and 4 deletions
|
@ -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"; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue