nixvim-config/config/plugins/ui/whichkey.nix
2025-06-24 20:53:02 +08:00

29 lines
425 B
Nix

{...}: {
plugins.which-key = {
enable = true;
settings = {
preset = "modern";
};
};
# Prefixes, No operation.
keymaps = [
{
mode = ["n" "v"];
key = "<leader>g";
action = "<Nop>";
options = {
desc = "+git";
};
}
{
mode = ["n"];
key = "<leader>gl";
action = "<Nop>";
options = {
desc = "+list";
};
}
];
}