mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-14 07:05:57 +01:00
35 lines
940 B
Nix
35 lines
940 B
Nix
{lib, ...}: let
|
|
inherit (lib) mkEnableOption mkOption types;
|
|
in {
|
|
options.vim.utility.motion.leap = {
|
|
enable = mkEnableOption "leap.nvim plugin (easy motion)";
|
|
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
}
|