Update whichkey

This commit is contained in:
♥ Minnie ♥ 2024-08-07 14:29:15 +08:00
parent c651fe77bf
commit e3dc3f07d6
Signed by: jasmine
GPG key ID: 8563E358D4E8040E

View file

@ -4,5 +4,80 @@
plugins.which-key = { plugins.which-key = {
enable = true; enable = true;
}; };
# Prefixes, No operation.
keymaps = [
{
mode = "n";
key = "<leader>f";
action = "<Nop>";
options = {
desc = "+find/files";
};
}
{
mode = "n";
key = "<leader>s";
action = "<Nop>";
options = {
desc = "+search";
};
}
{
mode = "n";
key = "<leader>h";
action = "<Nop>";
options = {
desc = "+hunks";
};
}
{
mode = "n";
key = "<leader>t";
action = "<Nop>";
options = {
desc = "+toggle";
};
}
{
mode = "n";
key = "<leader>b";
action = "<Nop>";
options = {
desc = "+buffer";
};
}
{
mode = [ "n" "v" ];
key = "<leader>c";
action = "<Nop>";
options = {
desc = "+comment";
};
}
{
mode = "n";
key = "<leader>g";
action = "<Nop>";
options = {
desc = "+git";
};
}
{
mode = "n";
key = "<leader>l";
action = "<Nop>";
options = {
desc = "+list";
};
}
];
} }