Update key mappings
This commit is contained in:
parent
819924a6ed
commit
606539168d
1 changed files with 18 additions and 12 deletions
|
@ -167,8 +167,14 @@
|
|||
keymaps = {
|
||||
silent = true;
|
||||
diagnostic = {
|
||||
"<leader>lk" = "goto_prev";
|
||||
"<leader>lj" = "goto_next";
|
||||
"<leader>lk" = {
|
||||
action = "goto_prev";
|
||||
desc = "Go to prev";
|
||||
};
|
||||
"<leader>lj" = {
|
||||
action = "goto_next";
|
||||
desc = "Go to next";
|
||||
};
|
||||
};
|
||||
|
||||
lspBuf = {
|
||||
|
@ -177,24 +183,24 @@
|
|||
desc = "Hover";
|
||||
};
|
||||
"<leader>lr" = {
|
||||
action = "references";
|
||||
desc = "LSP [r]eferences";
|
||||
action = "references";
|
||||
desc = "LSP [r]eferences";
|
||||
};
|
||||
"<leader>ld" = {
|
||||
action = "definition";
|
||||
desc = "LSP [d]efinitions";
|
||||
action = "definition";
|
||||
desc = "LSP [d]efinitions";
|
||||
};
|
||||
"<leader>li" = {
|
||||
action = "implementation";
|
||||
desc = "LSP [i]implementations";
|
||||
action = "implementation";
|
||||
desc = "LSP [i]implementations";
|
||||
};
|
||||
"<leader>lt" = {
|
||||
action = "type_definition";
|
||||
desc = "LSP [t]ype definitions";
|
||||
action = "type_definition";
|
||||
desc = "LSP [t]ype definitions";
|
||||
};
|
||||
"<leader>la" = {
|
||||
action = "code_action";
|
||||
desc = "LSP Code [A]ctions";
|
||||
action = "code_action";
|
||||
desc = "LSP Code [A]ctions";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue