Merge branch 'NotAShelf:main' into main

This commit is contained in:
ErinaYip 2026-05-10 20:19:05 +08:00 committed by GitHub
commit 3e7e0282f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 15 additions and 61 deletions

View file

@ -364,5 +364,14 @@ in {
(mkRenamedOptionModule ["vim" "utility" "vim-wakatime" "cli-path"] ["vim" "utility" "vim-wakatime" "setupOpts" "cli_path"])
(mkRenamedOptionModule ["vim" "languages" "go" "treesitter" "gotmplPackage"] ["vim" "languages" "go" "treesitter" "gotmpl" "package"])
]
# 2026-05-09
[
(mkRemovedOptionModule ["vim" "notes" "mind-nvim" "enable"] ''
mind.nvim was deprecated 3 years ago, and the repository was recrently deleted by the author, in his move to sourcehut.
they migrated some repositories, but mind.nvim wasn't one of them. More information can be found here:
<https://strongly-typed-thoughts.net/blog/final-bye-github>
'')
]
];
}

View file

@ -3,7 +3,6 @@
./obsidian
./orgmode
./neorg
./mind-nvim
./todo-comments
];
}

View file

@ -1,33 +0,0 @@
{
config,
lib,
...
}: let
inherit (lib.modules) mkIf;
inherit (lib.nvim.dag) entryAnywhere;
inherit (lib.nvim.binds) pushDownDefault;
cfg = config.vim.notes.mind-nvim;
in {
config = mkIf cfg.enable {
vim = {
startPlugins = [
"mind-nvim"
];
maps.normal = {
"<leader>om" = {action = ":MindOpenMain<CR>";};
"<leader>op" = {action = ":MindOpenProject<CR>";};
"<leader>oc" = {action = ":MindClose<CR>";};
};
binds.whichKey.register = pushDownDefault {
"<leader>o" = "+Notes";
};
pluginRC.mind-nvim = entryAnywhere ''
require'mind'.setup()
'';
};
};
}

View file

@ -1,6 +0,0 @@
{
imports = [
./mind-nvim.nix
./config.nix
];
}

View file

@ -1,7 +0,0 @@
{lib, ...}: let
inherit (lib.options) mkEnableOption;
in {
options.vim.notes.mind-nvim = {
enable = mkEnableOption "note organizer tool for Neovim [mind-nvim]";
};
}