fix neorg and add treesitter

This commit is contained in:
megit 2024-04-08 20:01:57 +08:00
parent c24150153f
commit 1e6312d181
3 changed files with 26 additions and 6 deletions

View file

@ -34,12 +34,15 @@
};
"core.keybinds" = {
config = {
hook = function(keybinds)
# -- unmap Alt-Enter to "core.itero.next-iteration", "<CR>"
keybinds.unmap("norg", "i", "<M-CR>")
# -- map Shift-Enter to "core.itero.next-iteration", "<CR>"
keybinds.remap_event("norg", "i", "<S-CR>", "core.itero.next-iteration", "<CR>")
end;
hook = {
__raw = ''function(keybinds)
-- unmap Alt-Enter to "core.itero.next-iteration", "<CR>"
keybinds.unmap("norg", "i", "<M-CR>")
-- map Shift-Enter to "core.itero.next-iteration", "<CR>"
keybinds.remap_event("norg", "i", "<S-CR>", "core.itero.next-iteration", "<CR>")
end;
'';
};
};
};
};