2023-11-07 00:50:27 +00:00
|
|
|
{lib, ...}: let
|
|
|
|
inherit (lib) mkEnableOption mkOption types;
|
|
|
|
in {
|
2023-04-04 23:14:13 +00:00
|
|
|
options.vim.utility.motion.leap = {
|
2023-06-05 20:10:25 +00:00
|
|
|
enable = mkEnableOption "leap.nvim plugin (easy motion)";
|
2023-04-11 13:37:24 +00:00
|
|
|
|
|
|
|
mappings = {
|
|
|
|
leapForwardTo = mkOption {
|
|
|
|
type = types.nullOr types.str;
|
|
|
|
description = "Leap forward to";
|
|
|
|
default = "s";
|
|
|
|
};
|
|
|
|
leapBackwardTo = mkOption {
|
|
|
|
type = types.nullOr types.str;
|
|
|
|
description = "Leap backward to";
|
|
|
|
default = "S";
|
|
|
|
};
|
|
|
|
leapForwardTill = mkOption {
|
|
|
|
type = types.nullOr types.str;
|
|
|
|
description = "Leap forward till";
|
|
|
|
default = "x";
|
|
|
|
};
|
|
|
|
leapBackwardTill = mkOption {
|
|
|
|
type = types.nullOr types.str;
|
|
|
|
description = "Leap backward till";
|
|
|
|
default = "X";
|
|
|
|
};
|
|
|
|
leapFromWindow = mkOption {
|
|
|
|
type = types.nullOr types.str;
|
|
|
|
description = "Leap from window";
|
|
|
|
default = "gs";
|
|
|
|
};
|
|
|
|
};
|
2023-04-04 23:14:13 +00:00
|
|
|
};
|
|
|
|
}
|