mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 11:36:07 +01:00
38 lines
664 B
Nix
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";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|