return { 'smoka7/hop.nvim', version = "*", opts = { keys = 'etovxqpdygfblzhckisuran' }, config = function() local hop = require('hop') hop.setup() local directions = require('hop.hint').HintDirection vim.keymap.set('', '', function () hop.hint_words({}) end, {remap=true}) vim.keymap.set('', '', function () vim.api.nvim_echo({{" Enter letter: ", "Normal"}}, false, {}) local char = vim.fn.nr2char(vim.fn.getchar()) if not char:match('^[%w%p]$') then vim.api.nvim_echo({{" Invalid input!", "ErrorMsg"}}, false, {}) return end vim.api.nvim_echo({}, false, {}) local pattern = '\\%(\\_^\\|[[:space:]{}.|>