removes unused keybinds and icons from which-key
This commit is contained in:
parent
cc042f71cd
commit
41fe8c0e8e
1 changed files with 5 additions and 23 deletions
|
|
@ -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";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue