mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 18:31:35 +00:00
treewide: register whichKey labels
This commit is contained in:
parent
f19a5dd3ed
commit
b9aa7088b8
12 changed files with 69 additions and 12 deletions
|
@ -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()
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue