return { "phaazon/hop.nvim", branch = "v2", keys = { "f","F","t","T", "" }, lazy = true, config = function () require("hop").setup{keys = 'asdfghjkl;'} local hop = require('hop') local directions = require('hop.hint').HintDirection G.map({ {"n", "", ":HopChar2MW", {noremap = true}}, {"n", "f", function () hop.hint_char1({ direction = directions.AFTER_CURSOR, current_line_only = true }) end, {noremap = true} }, {"n", "F", function () hop.hint_char1({ direction = directions.BEFORE_CURSOR, current_line_only = true }) end, {noremap = true} }, {"n", "t", function () hop.hint_char1({ direction = directions.AFTER_CURSOR, current_line_only = true, hint_offset = -1 }) end, {noremap = true} }, {"n", "T", function () hop.hint_char1({ direction = directions.BEFORE_CURSOR, current_line_only = true, hint_offset = -1 }) end, {noremap = true} }, }) end }