{ config, lib, ... }: with lib; let cfg = config.vim.utility.motion.hop; in { config = mkIf cfg.enable { vim.startPlugins = ["hop-nvim"]; vim.maps.normal."h" = { action = " HopPattern"; }; vim.luaConfigRC.hop-nvim = nvim.dag.entryAnywhere '' require('hop').setup() ''; }; }