From b68bad886b8c7d9a7f7c48030f679c9e0b442023 Mon Sep 17 00:00:00 2001 From: Fern Garden Date: Sat, 12 Jul 2025 11:35:23 +0800 Subject: [PATCH 1/2] Remove unrequired rec decleration --- helpers.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers.nix b/helpers.nix index d67b96c..968e8d8 100644 --- a/helpers.nix +++ b/helpers.nix @@ -46,7 +46,7 @@ with inputs.nixpkgs.lib; { }; in { - nixosConfigurations.${hostname} = nixosSystem rec { + nixosConfigurations.${hostname} = nixosSystem { inherit system pkgs; specialArgs = { From d2588bee425ad133b5aa9f9fc86d4a4c41ae4e41 Mon Sep 17 00:00:00 2001 From: Fern Garden Date: Sat, 12 Jul 2025 11:35:39 +0800 Subject: [PATCH 2/2] neovim - remove some plugins and change keymaps --- suites/common.nix | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/suites/common.nix b/suites/common.nix index 750581a..26ca255 100644 --- a/suites/common.nix +++ b/suites/common.nix @@ -109,11 +109,11 @@ with lib; { keymaps = [ { - key = "t"; - action = " ToggleTerm direction=horizontal "; + key = "tt"; + action = " ToggleTerm direction=float "; } { - key = "x"; + key = "xx"; action = " Trouble diagnostics toggle focus=false"; } ]; @@ -139,7 +139,6 @@ with lib; { colorizer.enable = true; comment.enable = true; gitsigns.enable = true; - lazygit.enable = true; lsp-format.enable = true; notify.enable = true; nvim-autopairs.enable = true; @@ -176,8 +175,18 @@ with lib; { "fallback" ]; }; - completion.menu.auto_show = true; - completion.documentation.auto_show = true; + completion = { + 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; + }; + }; }; };