fix neorg and add treesitter
This commit is contained in:
parent
c24150153f
commit
1e6312d181
3 changed files with 26 additions and 6 deletions
|
|
@ -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;
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue