mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-02-23 03:48:01 +00:00

* feat: add multicursors-nvim plugin multicursors-nvim with hydra dependency and static config. * add most used default options * add more descriptions and refine * disable debug mode * maximal by default * add multicursors addition to changelog * Update modules/plugins/hydra/hydra.nix place hydra plugin in utility folder Co-authored-by: raf <raf@notashelf.dev> * clean up hydra config and implementation * mention hydra dependency addition * update to using npins instead of flake based additions. --------- Co-authored-by: raf <raf@notashelf.dev> Co-authored-by: raf <me@notashelf.dev>
22 lines
439 B
Nix
22 lines
439 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkIf;
|
|
cfg = config.vim.hydra;
|
|
in {
|
|
config = mkIf cfg.enable {
|
|
vim = {
|
|
startPlugins = [];
|
|
lazy.plugins.hydra = {
|
|
package = "hydra.nvim";
|
|
setupModule = "hydra";
|
|
inherit (cfg) setupOpts;
|
|
|
|
event = ["DeferredUIEnter"];
|
|
cmd = ["MCstart" "MCvisual" "MCclear" "MCpattern" "MCvisualPattern" "MCunderCursor"];
|
|
};
|
|
};
|
|
};
|
|
}
|