mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 11:36:07 +01:00
plugins/mini-operators: init
This commit is contained in:
parent
86ca2b6785
commit
9ada504246
2 changed files with 72 additions and 0 deletions
|
|
@ -0,0 +1,38 @@
|
|||
{ 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue