1
0
Fork 0
mirror of https://github.com/NotAShelf/neovim-flake.git synced 2025-01-05 06:29:48 +01:00
neovim-flake/modules/utility/motion/leap/leap.nix

36 lines
911 B
Nix
Raw Normal View History

2023-04-11 15:37:24 +02:00
{lib, ...}:
with lib;
with builtins; {
2023-04-05 01:14:13 +02:00
options.vim.utility.motion.leap = {
enable = mkEnableOption "leap.nvim plugin (easy motion)";
2023-04-11 15:37:24 +02: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-05 01:14:13 +02:00
};
}