summaryrefslogtreecommitdiff
path: root/lua/config/hop.lua
blob: 9fd6422b603a98989cf0ec3d6bab73217b49acdb (plain)
1
2
3
4
5
6
7
8
local status_ok, hop = pcall(require, "hop")
if not status_ok then
    return
end

hop.setup()
vim.api.nvim_set_keymap("n", "s", ":HopChar2<cr>", { silent = true })
vim.api.nvim_set_keymap("n", "S", ":HopWord<cr>", { silent = true })