@@ -268,35 +268,44 @@
|
|||||||
expandtab = true;
|
expandtab = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
keymaps = {
|
keymaps = [
|
||||||
normal = {
|
{
|
||||||
"<leader>b" = {
|
action = "<cmd>Neotree toggle<CR>";
|
||||||
action = "<cmd>Neotree toggle<CR>";
|
key = "<leader>b";
|
||||||
options.silent = true;
|
mode = [ "n" ];
|
||||||
options.desc = "Toggle Neotree";
|
options.silent = true;
|
||||||
};
|
options.desc = "Toggle Neotree";
|
||||||
"<leader>h" = {
|
}
|
||||||
action = "<C-w>h";
|
{
|
||||||
options.silent = true;
|
action = "<C-w>h";
|
||||||
options.desc = "Focus left";
|
key = "<leader>h";
|
||||||
};
|
mode = [ "n" ];
|
||||||
"<leader>l" = {
|
options.silent = true;
|
||||||
action = "<C-w>l";
|
options.desc = "Focus left";
|
||||||
options.silent = true;
|
}
|
||||||
options.desc = "Focus right";
|
{
|
||||||
};
|
action = "<C-w>l";
|
||||||
"<leader>j" = {
|
key = "<leader>l";
|
||||||
action = "<C-w>j";
|
mode = [ "n" ];
|
||||||
options.silent = true;
|
options.silent = true;
|
||||||
options.desc = "Focus down";
|
options.desc = "Focus right";
|
||||||
};
|
}
|
||||||
"<leader>k" = {
|
{
|
||||||
action = "<C-w>k";
|
action = "<C-w>j";
|
||||||
options.silent = true;
|
key = "<leader>j";
|
||||||
options.desc = "Focus up";
|
mode = [ "n" ];
|
||||||
};
|
options.silent = true;
|
||||||
};
|
options.desc = "Focus down";
|
||||||
};
|
}
|
||||||
|
{
|
||||||
|
action = "<C-w>k";
|
||||||
|
key = "<leader>k";
|
||||||
|
mode = [ "n" ];
|
||||||
|
options.silent = true;
|
||||||
|
options.desc = "Focus up";
|
||||||
|
}
|
||||||
|
|
||||||
|
];
|
||||||
|
|
||||||
plugins = {
|
plugins = {
|
||||||
lualine.enable = true;
|
lualine.enable = true;
|
||||||
@@ -340,56 +349,52 @@
|
|||||||
keymaps = {
|
keymaps = {
|
||||||
silent = true;
|
silent = true;
|
||||||
lspBuf = {
|
lspBuf = {
|
||||||
normal = {
|
gd = {
|
||||||
gd = {
|
action = "definition";
|
||||||
action = "definition";
|
desc = "Goto Definition";
|
||||||
desc = "Goto Definition";
|
};
|
||||||
};
|
gr = {
|
||||||
gr = {
|
action = "references";
|
||||||
action = "references";
|
desc = "Goto References";
|
||||||
desc = "Goto References";
|
};
|
||||||
};
|
gD = {
|
||||||
gD = {
|
action = "declaration";
|
||||||
action = "declaration";
|
desc = "Goto Declaration";
|
||||||
desc = "Goto Declaration";
|
};
|
||||||
};
|
gI = {
|
||||||
gI = {
|
action = "implementation";
|
||||||
action = "implementation";
|
desc = "Goto Implementation";
|
||||||
desc = "Goto Implementation";
|
};
|
||||||
};
|
gT = {
|
||||||
gT = {
|
action = "type_definition";
|
||||||
action = "type_definition";
|
desc = "Type Definition";
|
||||||
desc = "Type Definition";
|
};
|
||||||
};
|
K = {
|
||||||
K = {
|
action = "hover";
|
||||||
action = "hover";
|
desc = "Hover";
|
||||||
desc = "Hover";
|
};
|
||||||
};
|
"<leader>cw" = {
|
||||||
"<leader>cw" = {
|
action = "workspace_symbol";
|
||||||
action = "workspace_symbol";
|
desc = "Workspace Symbol";
|
||||||
desc = "Workspace Symbol";
|
};
|
||||||
};
|
"<leader>r" = {
|
||||||
"<leader>r" = {
|
action = "rename";
|
||||||
action = "rename";
|
desc = "Rename";
|
||||||
desc = "Rename";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
diagnostic = {
|
diagnostic = {
|
||||||
normal = {
|
"<leader>cd" = {
|
||||||
"<leader>cd" = {
|
action = "open_float";
|
||||||
action = "open_float";
|
desc = "Line Diagnostics";
|
||||||
desc = "Line Diagnostics";
|
};
|
||||||
};
|
"]d" = {
|
||||||
"]d" = {
|
action = "goto_next";
|
||||||
action = "goto_next";
|
desc = "Next Diagnostic";
|
||||||
desc = "Next Diagnostic";
|
};
|
||||||
};
|
"[d" = {
|
||||||
"[d" = {
|
action = "goto_prev";
|
||||||
action = "goto_prev";
|
desc = "Previous Diagnostic";
|
||||||
desc = "Previous Diagnostic";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user