diff options
-rw-r--r-- | common/commandline.nix | 1 | ||||
-rw-r--r-- | common/nixvim.nix | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/common/commandline.nix b/common/commandline.nix index 85b6066..81f2fd5 100644 --- a/common/commandline.nix +++ b/common/commandline.nix | |||
@@ -22,6 +22,7 @@ in { | |||
22 | ]; | 22 | ]; |
23 | 23 | ||
24 | environment.systemPackages = with pkgs; [ | 24 | environment.systemPackages = with pkgs; [ |
25 | ast-grep | ||
25 | dnsutils | 26 | dnsutils |
26 | dogdns | 27 | dogdns |
27 | dua | 28 | dua |
diff --git a/common/nixvim.nix b/common/nixvim.nix index 3f55c0f..1af37d5 100644 --- a/common/nixvim.nix +++ b/common/nixvim.nix | |||
@@ -369,6 +369,21 @@ inputs: | |||
369 | 369 | ||
370 | gitsigns.enable = true; | 370 | gitsigns.enable = true; |
371 | 371 | ||
372 | grug-far = { | ||
373 | enable = true; | ||
374 | settings.engines.astgrep.path = "ast-grep"; | ||
375 | lazyLoad.settings = { | ||
376 | cmd = "GrugFar"; | ||
377 | keys = [ | ||
378 | { | ||
379 | __unkeyed-1 = "<leader>fG"; | ||
380 | __unkeyed-2 = "<cmd>GrugFar<cr>"; | ||
381 | desc = "Grug find and replace"; | ||
382 | } | ||
383 | ]; | ||
384 | }; | ||
385 | }; | ||
386 | |||
372 | indent-blankline = { | 387 | indent-blankline = { |
373 | enable = true; | 388 | enable = true; |
374 | settings.indent = { | 389 | settings.indent = { |