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 = {
|
keymaps = {
|
||||||
silent = true;
|
silent = true;
|
||||||
diagnostic = {
|
diagnostic = {
|
||||||
"<leader>lk" = "goto_prev";
|
"<leader>lk" = {
|
||||||
"<leader>lj" = "goto_next";
|
action = "goto_prev";
|
||||||
|
desc = "Go to prev";
|
||||||
|
};
|
||||||
|
"<leader>lj" = {
|
||||||
|
action = "goto_next";
|
||||||
|
desc = "Go to next";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
lspBuf = {
|
lspBuf = {
|
||||||
|
@ -177,24 +183,24 @@
|
||||||
desc = "Hover";
|
desc = "Hover";
|
||||||
};
|
};
|
||||||
"<leader>lr" = {
|
"<leader>lr" = {
|
||||||
action = "references";
|
action = "references";
|
||||||
desc = "LSP [r]eferences";
|
desc = "LSP [r]eferences";
|
||||||
};
|
};
|
||||||
"<leader>ld" = {
|
"<leader>ld" = {
|
||||||
action = "definition";
|
action = "definition";
|
||||||
desc = "LSP [d]efinitions";
|
desc = "LSP [d]efinitions";
|
||||||
};
|
};
|
||||||
"<leader>li" = {
|
"<leader>li" = {
|
||||||
action = "implementation";
|
action = "implementation";
|
||||||
desc = "LSP [i]implementations";
|
desc = "LSP [i]implementations";
|
||||||
};
|
};
|
||||||
"<leader>lt" = {
|
"<leader>lt" = {
|
||||||
action = "type_definition";
|
action = "type_definition";
|
||||||
desc = "LSP [t]ype definitions";
|
desc = "LSP [t]ype definitions";
|
||||||
};
|
};
|
||||||
"<leader>la" = {
|
"<leader>la" = {
|
||||||
action = "code_action";
|
action = "code_action";
|
||||||
desc = "LSP Code [A]ctions";
|
desc = "LSP Code [A]ctions";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue