aboutsummaryrefslogtreecommitdiffstats
path: root/modules/development/nixvim/plugins/which-key.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@gmail.com>2026-09-15 03:39:39 +0530
committerArpit Chakladar <arpitchakladar@gmail.com>2026-09-15 03:39:39 +0530
commit54102de5c057ece86fa4f173ac65df2d6f202869 (patch)
tree421c84ef0229f2b21d2da42cef5ac42d6eb584bc /modules/development/nixvim/plugins/which-key.nix
parentfe30a67a958d8ec78fdec8b83f66f8b3d491157e (diff)
downloadhome-manager-config-54102de5c057ece86fa4f173ac65df2d6f202869.tar.gz
home-manager-config-54102de5c057ece86fa4f173ac65df2d6f202869.zip
feat(development/nixvim): added keybinding groups to which-key
Diffstat (limited to 'modules/development/nixvim/plugins/which-key.nix')
-rw-r--r--modules/development/nixvim/plugins/which-key.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/development/nixvim/plugins/which-key.nix b/modules/development/nixvim/plugins/which-key.nix
index 5802c96..e400edd 100644
--- a/modules/development/nixvim/plugins/which-key.nix
+++ b/modules/development/nixvim/plugins/which-key.nix
@@ -14,6 +14,30 @@
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";
+ }
+ ];
};
};
}