mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-07 02:41:33 +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 mkMerge nvim;
|
||||
inherit (lib) mkIf mkMerge nvim defaultAttributes;
|
||||
|
||||
cfg = config.vim.notes.orgmode;
|
||||
in {
|
||||
|
@ -13,6 +13,10 @@ in {
|
|||
"orgmode-nvim"
|
||||
];
|
||||
|
||||
vim.binds.whichKey.register = defaultAttributes {
|
||||
"<leader>o" = "+Notes";
|
||||
};
|
||||
|
||||
vim.luaConfigRC.orgmode = nvim.dag.entryAnywhere ''
|
||||
-- Load custom treesitter grammar for org filetype
|
||||
require('orgmode').setup_ts_grammar()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue