modified some neorg config
This commit is contained in:
parent
d053356b56
commit
5f4786b782
1 changed files with 10 additions and 11 deletions
|
|
@ -1,3 +1,4 @@
|
|||
# vim: ts=4:sts=0:sw=0:noet
|
||||
{
|
||||
helpers
|
||||
, ... }:
|
||||
|
|
@ -24,22 +25,20 @@ helpers
|
|||
g = "~/neorg/grammar";
|
||||
p = "~/neorg/perl";
|
||||
m = "~/neorg/misc";
|
||||
nvim = "~/.config/nvim/NeorgNvimNotes";
|
||||
# nvim = "~/.config/nvim/NeorgNvimNotes";
|
||||
};
|
||||
default_workspace = "m";
|
||||
};
|
||||
};
|
||||
"core.keybinds" = {
|
||||
# config = {
|
||||
# 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,
|
||||
# '';
|
||||
# };
|
||||
config = {
|
||||
hook.__raw = ''
|
||||
function(keybinds)
|
||||
keybinds.unmap("norg", "i", "<M-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