mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-25 06:36:46 +00:00
37 lines
916 B
Nix
37 lines
916 B
Nix
{lib, ...}: let
|
|
inherit (lib.options) mkEnableOption mkOption;
|
|
inherit (lib.types) nullOr str;
|
|
in {
|
|
options.vim.utility.motion.leap = {
|
|
enable = mkEnableOption "leap.nvim plugin (easy motion)";
|
|
|
|
mappings = {
|
|
leapForwardTo = mkOption {
|
|
type = nullOr str;
|
|
description = "Leap forward to";
|
|
default = "s";
|
|
};
|
|
leapBackwardTo = mkOption {
|
|
type = nullOr str;
|
|
description = "Leap backward to";
|
|
default = "S";
|
|
};
|
|
leapForwardTill = mkOption {
|
|
type = nullOr str;
|
|
description = "Leap forward till";
|
|
default = "x";
|
|
};
|
|
leapBackwardTill = mkOption {
|
|
type = nullOr str;
|
|
description = "Leap backward till";
|
|
default = "X";
|
|
};
|
|
leapFromWindow = mkOption {
|
|
type = nullOr str;
|
|
description = "Leap from window";
|
|
default = "gs";
|
|
};
|
|
};
|
|
};
|
|
}
|