removes unused keybinds and icons from which-key

This commit is contained in:
Dennis Schoepf 2026-02-05 22:30:50 +01:00
parent cc042f71cd
commit 41fe8c0e8e

View file

@ -1,5 +1,9 @@
{
plugins.which-key.enable = true;
plugins.which-key = {
enable = true;
icons.mappings = false;
};
keymaps = [
# Open
{
@ -51,14 +55,6 @@
options.desc = "Leave neovim";
}
# Diagnostics
{
mode = [ "n" ];
key = "<leader>ta";
action = "<cmd>TodoQuickFix<cr>";
options.desc = "Show all todo comments";
}
# Window
{
mode = [ "n" ];
@ -120,19 +116,5 @@
action = "<cmd>close<cr>";
options.desc = "Delete window only";
}
# Config
{
mode = [ "n" ];
key = "<leader>xn";
action = "<cmd>set number relativenumber<cr>";
options.desc = "Show relative numbers";
}
{
mode = [ "n" ];
key = "<leader>xr";
action = "<cmd>source $MYVIMRC<cr>";
options.desc = "Reload config";
}
];
}