1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 11:36:07 +01:00
nixvim/tests/test-sources/plugins/by-name/mini-operators/default.nix
2025-11-02 12:36:51 +00:00

38 lines
664 B
Nix

{ lib, ... }:
{
empty = {
plugins.mini-operators.enable = true;
};
defaults = {
plugins.mini-operators = {
enable = true;
settings = {
evaluate = {
prefix = "g=";
func = lib.nixvim.mkRaw "nil";
};
exchange = {
prefix = "gx";
reindent_linewise = true;
};
multiply = {
prefix = "gm";
func = lib.nixvim.mkRaw "nil";
};
replace = {
prefix = "gr";
reindent_linewise = true;
};
sort = {
prefix = "gs";
func = lib.nixvim.mkRaw "nil";
};
};
};
};
}