add nixpkgs-stable for neorg

This commit is contained in:
megit 2024-04-09 12:37:39 +08:00
parent 5f4786b782
commit d26387fa87
3 changed files with 24 additions and 1 deletions

View file

@ -1,11 +1,12 @@
# vim: ts=4:sts=0:sw=0:noet
{
helpers
pkgs-stable
, ... }:
{
plugins = {
neorg = {
enable = true;
package = pkgs-stable.vimPlugins.neorg;
modules = {
"core.defaults" = {}; # -- Loads default behaviour
"core.summary" = {};
@ -32,6 +33,7 @@ helpers
};
"core.keybinds" = {
config = {
default_keybinds = true;
hook.__raw = ''
function(keybinds)
keybinds.unmap("norg", "i", "<M-CR>")