2023-08-27 18:22:29 +00:00
|
|
|
return {
|
|
|
|
"phaazon/hop.nvim",
|
|
|
|
config = function ()
|
|
|
|
local hop = require('hop')
|
|
|
|
local keymap = vim.keymap
|
|
|
|
|
|
|
|
hop.setup()
|
|
|
|
|
2024-02-12 16:34:57 +00:00
|
|
|
keymap.set('', '<leader><leader>f', function ()
|
|
|
|
hop.hint_char1()
|
|
|
|
end)
|
|
|
|
keymap.set('', '<leader><leader>s', function ()
|
2023-08-27 18:22:29 +00:00
|
|
|
hop.hint_char2()
|
|
|
|
end)
|
2024-02-12 16:34:57 +00:00
|
|
|
keymap.set('', '<leader><leader>w', function ()
|
2023-08-27 18:22:29 +00:00
|
|
|
hop.hint_words()
|
|
|
|
end)
|
|
|
|
end
|
|
|
|
}
|