Skip to content

Commit 7c3c690

Browse files
committed
chore: which-key groups
1 parent 3adb7ca commit 7c3c690

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

home-manager/common/nixvim/default.nix

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,20 @@
2323
enable = true;
2424
colorscheme = "irblack";
2525
};
26-
plugins.which-key.enable = true;
26+
plugins.which-key = {
27+
enable = true;
28+
registrations = {
29+
"<leader>c" = {
30+
name = "code";
31+
};
32+
"<leader>f" = {
33+
name = "file / find";
34+
};
35+
"<leader>s" = {
36+
name = "search";
37+
};
38+
};
39+
};
2740
extraPlugins = with pkgs.vimPlugins; [ vim-startuptime ];
2841
};
2942
}

0 commit comments

Comments
 (0)