neovim - remove some plugins and change keymaps

This commit is contained in:
Fern Garden 2025-07-12 11:35:39 +08:00
parent b68bad886b
commit d2588bee42

View file

@ -109,11 +109,11 @@ with lib; {
keymaps = [ keymaps = [
{ {
key = "<Leader>t"; key = "<Leader>tt";
action = "<cmd> ToggleTerm direction=horizontal <CR>"; action = "<cmd> ToggleTerm direction=float <CR>";
} }
{ {
key = "<Leader>x"; key = "<Leader>xx";
action = "<cmd> Trouble diagnostics toggle focus=false<CR>"; action = "<cmd> Trouble diagnostics toggle focus=false<CR>";
} }
]; ];
@ -139,7 +139,6 @@ with lib; {
colorizer.enable = true; colorizer.enable = true;
comment.enable = true; comment.enable = true;
gitsigns.enable = true; gitsigns.enable = true;
lazygit.enable = true;
lsp-format.enable = true; lsp-format.enable = true;
notify.enable = true; notify.enable = true;
nvim-autopairs.enable = true; nvim-autopairs.enable = true;
@ -176,8 +175,18 @@ with lib; {
"fallback" "fallback"
]; ];
}; };
completion.menu.auto_show = true; completion = {
completion.documentation.auto_show = true; menu.auto_show = true;
documentation.auto_show = true;
list.selection.preselect = false;
};
cmdline = {
keymap.preset = "inherit";
completion = {
menu.auto_show = true;
list.selection.preselect = false;
};
};
}; };
}; };