diff --git a/home-manager/traverseda/home.nix b/home-manager/traverseda/home.nix index 01ffc14..a150b90 100644 --- a/home-manager/traverseda/home.nix +++ b/home-manager/traverseda/home.nix @@ -126,17 +126,18 @@ ''; }; sources = [ - {name = "path";} + {name = "copilot";} {name = "nvim_lsp";} + {name = "path";} {name = "buffer";} {name = "treesitter";} - {name = "copilot";} {name = "bash";} ]; }; }; plugins.indent-blankline.enable = true; plugins.lsp-format.enable = true; + plugins.commentary.enable = true; plugins.lsp = { enable = true; }; @@ -193,6 +194,13 @@ globals.mapleader = " "; keymaps = [ + { + #Clear the search buffer when I press esc twice + mode = ["n" "t"]; + key = ""; + options = { noremap = true; desc = "Clear search"; }; + action = ":nohlsearch"; + } { mode = ["n" "t"]; key = "c";