summaryrefslogtreecommitdiff
path: root/lua/config/hop.lua
blob: 65fd792b2b081fe843a894044da311b53b3ffaff (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 })