plugins/cutlass-nvim: init

Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
saygo-png 2025-08-22 19:56:34 +02:00 committed by Gaétan Lepage
parent d96069b1e1
commit 09126049a4
2 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "cutlass-nvim";
moduleName = "cutlass";
packPathName = "cutlass.nvim";
maintainers = [ lib.maintainers.saygo-png ];
settingsExample = {
override_del = true;
exclude = [
"ns"
"nS"
"nx"
"nX"
"nxx"
"nX"
];
registers = {
select = "s";
delete = "d";
change = "c";
};
};
}

View file

@ -0,0 +1,43 @@
{
empty = {
plugins.cutlass-nvim.enable = true;
};
defaults = {
plugins.cutlass-nvim = {
enable = true;
settings = {
cut_key = "nil";
override_del = "nil";
exclude.__empty = { };
registers = {
select = "_";
delete = "_";
change = "_";
};
};
};
};
example = {
plugins.cutlass-nvim = {
enable = true;
settings = {
override_del = true;
exclude = [
"ns"
"nS"
"nx"
"nX"
"nxx"
"nX"
];
registers = {
select = "s";
delete = "d";
change = "c";
};
};
};
};
}