chore: refactor
This commit is contained in:
parent
702b02cdf6
commit
d7c5e8e43a
2 changed files with 1 additions and 1 deletions
53
config/plugins/ui/whichkey.nix
Normal file
53
config/plugins/ui/whichkey.nix
Normal file
|
@ -0,0 +1,53 @@
|
|||
{...}: {
|
||||
plugins.which-key = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# Prefixes, No operation.
|
||||
keymaps = [
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>s";
|
||||
action = "<Nop>";
|
||||
options = {
|
||||
desc = "+search";
|
||||
};
|
||||
}
|
||||
|
||||
{
|
||||
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>gl";
|
||||
action = "<Nop>";
|
||||
options = {
|
||||
desc = "+list";
|
||||
};
|
||||
}
|
||||
|
||||
{
|
||||
mode = "n";
|
||||
key = "<leader>gt";
|
||||
action = "<Nop>";
|
||||
options = {
|
||||
desc = "+toggle";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue