aboutsummaryrefslogtreecommitdiffstats
path: root/modules/development/nixvim/plugins/which-key.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/development/nixvim/plugins/which-key.nix')
-rw-r--r--modules/development/nixvim/plugins/which-key.nix29
1 files changed, 28 insertions, 1 deletions
diff --git a/modules/development/nixvim/plugins/which-key.nix b/modules/development/nixvim/plugins/which-key.nix
index 81ecd14..3a0c0ef 100644
--- a/modules/development/nixvim/plugins/which-key.nix
+++ b/modules/development/nixvim/plugins/which-key.nix
@@ -9,12 +9,39 @@
registers = true;
spelling = {
enabled = true;
- suggestions = 20;
};
};
win = {
border = "single";
};
+
+ # Group descriptions for leader prefixes
+ spec = [
+ {
+ __unkeyed-1 = "<leader>g";
+ group = "+Git";
+ }
+ {
+ __unkeyed-1 = "<leader>f";
+ group = "+Find";
+ }
+ {
+ __unkeyed-1 = "<leader>d";
+ group = "+Debug";
+ }
+ {
+ __unkeyed-1 = "<leader>l";
+ group = "+LSP";
+ }
+ {
+ __unkeyed-1 = "<leader>c";
+ group = "+Comment";
+ }
+ {
+ __unkeyed-1 = "<leader>n";
+ group = "+Explorer";
+ }
+ ];
};
};
}