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; + }; + }; }; };