mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-02 03:21:14 +00:00
36 lines
918 B
Nix
36 lines
918 B
Nix
{lib, ...}:
|
|
with lib;
|
|
with builtins; {
|
|
options.vim.utility.motion.leap = {
|
|
enable = mkEnableOption "Enable 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";
|
|
};
|
|
};
|
|
};
|
|
}
|