mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-12-04 02:17:18 +00:00
da2bc3063c
This reverts commit ede1d4437e2d8d1a6ff31b4dc855676c6e16df36.
37 lines
952 B
Nix
37 lines
952 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 = "<leader>ss";
|
|
};
|
|
leapBackwardTo = mkOption {
|
|
type = nullOr str;
|
|
description = "Leap backward to";
|
|
default = "<leader>sS";
|
|
};
|
|
leapForwardTill = mkOption {
|
|
type = nullOr str;
|
|
description = "Leap forward till";
|
|
default = "<leader>sx";
|
|
};
|
|
leapBackwardTill = mkOption {
|
|
type = nullOr str;
|
|
description = "Leap backward till";
|
|
default = "<leader>sX";
|
|
};
|
|
leapFromWindow = mkOption {
|
|
type = nullOr str;
|
|
description = "Leap from window";
|
|
default = "gs";
|
|
};
|
|
};
|
|
};
|
|
}
|