treewide: register whichKey labels

This commit is contained in:
Frothy 2024-02-25 11:39:05 -05:00
commit b9aa7088b8
12 changed files with 69 additions and 12 deletions

View file

@ -3,7 +3,7 @@
lib,
...
}: let
inherit (lib) mkIf nvim;
inherit (lib) mkIf nvim defaultAttributes;
cfg = config.vim.notes.mind-nvim;
in {
@ -18,6 +18,10 @@ in {
"<leader>oc" = {action = ":MindClose<CR>";};
};
vim.binds.whichKey.register = defaultAttributes {
"<leader>o" = "+Notes";
};
vim.luaConfigRC.mind-nvim = nvim.dag.entryAnywhere ''
require'mind'.setup()
'';