local ok, hop = pcall(require, 'hop') if not ok then return end hop.setup { quit_key = '', uppercase_labels = true } local map = vim.keymap.set map('n', 'f', function() hop.hint_char1({current_line_only = true }) end, {remap=true}) map('n', 's', function() hop.hint_char2() end, {remap=true})