mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-24 20:29:49 +01:00
12 lines
308 B
Nix
12 lines
308 B
Nix
{lib, ...}: let
|
|
inherit (lib.options) mkEnableOption;
|
|
inherit (lib.nvim.binds) mkMappingOption;
|
|
in {
|
|
options.vim.utility.motion.hop = {
|
|
mappings = {
|
|
hop = mkMappingOption "Jump to occurences [hop.nvim]" "<leader>h";
|
|
};
|
|
|
|
enable = mkEnableOption "Hop.nvim plugin (easy motion)";
|
|
};
|
|
}
|