@@ -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";
|
||||||
|
mode = [ "n" ];
|
||||||
options.silent = true;
|
options.silent = true;
|
||||||
options.desc = "Toggle Neotree";
|
options.desc = "Toggle Neotree";
|
||||||
};
|
}
|
||||||
"<leader>h" = {
|
{
|
||||||
action = "<C-w>h";
|
action = "<C-w>h";
|
||||||
|
key = "<leader>h";
|
||||||
|
mode = [ "n" ];
|
||||||
options.silent = true;
|
options.silent = true;
|
||||||
options.desc = "Focus left";
|
options.desc = "Focus left";
|
||||||
};
|
}
|
||||||
"<leader>l" = {
|
{
|
||||||
action = "<C-w>l";
|
action = "<C-w>l";
|
||||||
|
key = "<leader>l";
|
||||||
|
mode = [ "n" ];
|
||||||
options.silent = true;
|
options.silent = true;
|
||||||
options.desc = "Focus right";
|
options.desc = "Focus right";
|
||||||
};
|
}
|
||||||
"<leader>j" = {
|
{
|
||||||
action = "<C-w>j";
|
action = "<C-w>j";
|
||||||
|
key = "<leader>j";
|
||||||
|
mode = [ "n" ];
|
||||||
options.silent = true;
|
options.silent = true;
|
||||||
options.desc = "Focus down";
|
options.desc = "Focus down";
|
||||||
};
|
}
|
||||||
"<leader>k" = {
|
{
|
||||||
action = "<C-w>k";
|
action = "<C-w>k";
|
||||||
|
key = "<leader>k";
|
||||||
|
mode = [ "n" ];
|
||||||
options.silent = true;
|
options.silent = true;
|
||||||
options.desc = "Focus up";
|
options.desc = "Focus up";
|
||||||
};
|
}
|
||||||
};
|
|
||||||
};
|
];
|
||||||
|
|
||||||
plugins = {
|
plugins = {
|
||||||
lualine.enable = true;
|
lualine.enable = true;
|
||||||
@@ -340,7 +349,6 @@
|
|||||||
keymaps = {
|
keymaps = {
|
||||||
silent = true;
|
silent = true;
|
||||||
lspBuf = {
|
lspBuf = {
|
||||||
normal = {
|
|
||||||
gd = {
|
gd = {
|
||||||
action = "definition";
|
action = "definition";
|
||||||
desc = "Goto Definition";
|
desc = "Goto Definition";
|
||||||
@@ -373,11 +381,9 @@
|
|||||||
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";
|
||||||
@@ -393,7 +399,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
cmp = {
|
cmp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user