modified some neorg config

This commit is contained in:
megit 2024-04-09 00:38:52 +08:00
parent d053356b56
commit 5f4786b782

View file

@ -1,3 +1,4 @@
# vim: ts=4:sts=0:sw=0:noet
{ {
helpers helpers
, ... }: , ... }:
@ -24,22 +25,20 @@ helpers
g = "~/neorg/grammar"; g = "~/neorg/grammar";
p = "~/neorg/perl"; p = "~/neorg/perl";
m = "~/neorg/misc"; m = "~/neorg/misc";
nvim = "~/.config/nvim/NeorgNvimNotes"; # nvim = "~/.config/nvim/NeorgNvimNotes";
}; };
default_workspace = "m"; default_workspace = "m";
}; };
}; };
"core.keybinds" = { "core.keybinds" = {
# config = { config = {
# hook.__raw = '' hook.__raw = ''
# function(keybinds) function(keybinds)
# -- unmap Alt-Enter to "core.itero.next-iteration", "<CR>" keybinds.unmap("norg", "i", "<M-CR>")
# keybinds.unmap("norg", "i", "<M-CR>") keybinds.remap_event("norg", "i", "<S-CR>", "core.itero.next-iteration", "<CR>")
# -- map Shift-Enter to "core.itero.next-iteration", "<CR>" end
# keybinds.remap_event("norg", "i", "<S-CR>", "core.itero.next-iteration", "<CR>") '';
# end, };
# '';
# };
}; };
}; };
}; };