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