mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-09 20:01:34 +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.obsidian;
|
||||
auto = config.vim.autocomplete;
|
||||
|
@ -15,6 +15,10 @@ in {
|
|||
"tabular"
|
||||
];
|
||||
|
||||
vim.binds.whichKey.register = defaultAttributes {
|
||||
"<leader>o" = "+Notes";
|
||||
};
|
||||
|
||||
vim.luaConfigRC.obsidian = nvim.dag.entryAnywhere ''
|
||||
require("obsidian").setup({
|
||||
dir = "${cfg.dir}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue