summaryrefslogtreecommitdiff
path: root/fnl/config/hop.fnl
blob: d12c6501eefae81dde15bbcc76c6ff8f9a7d4d37 (plain)
1
2
3
4
5
6
7
8
9
10
11
;; Hopping in text.
(module config.hop
  {autoload {util util
             nvim aniseed.nvim}})

(let [(ok? hop) util.load-plugin :hop]
  (when ok?
    (hop.setup {})))

(nvim.set_keymap "n" "s" ":HopChar2<cr>" { :silent true })
(nvim.set_keymap "n" "S" ":HopWord<cr>" { :silent true })