plugins/iswap: init

This commit is contained in:
Gaetan Lepage 2025-12-31 01:28:31 +01:00 committed by Gaétan Lepage
parent 246781838c
commit 1b5d59e466
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,12 @@
{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "iswap";
package = "iswap-nvim";
maintainers = [ lib.maintainers.GaetanLepage ];
settingsExample = {
debug = true;
move_cursor = true;
};
}

View file

@ -0,0 +1,33 @@
{
empty = {
plugins.iswap.enable = true;
};
defaults = {
plugins.iswap = {
enable = true;
settings = {
keys = "asdfghjklqwertyuiopzxcvbnm";
hl_grey = "Comment";
hl_snipe = "Search";
hl_selection = "Visual";
flash_style = "sequential";
hl_flash = "IncSearch";
hl_grey_priority = 1000;
grey = "enable";
};
};
};
example = {
plugins.iswap = {
enable = true;
settings = {
debug = true;
move_cursor = true;
};
};
};
}