{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 = "ss"; }; leapBackwardTo = mkOption { type = nullOr str; description = "Leap backward to"; default = "sS"; }; leapForwardTill = mkOption { type = nullOr str; description = "Leap forward till"; default = "sx"; }; leapBackwardTill = mkOption { type = nullOr str; description = "Leap backward till"; default = "sX"; }; leapFromWindow = mkOption { type = nullOr str; description = "Leap from window"; default = "gs"; }; }; }; }