summaryrefslogtreecommitdiff
path: root/fnl/config/hop.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-02 03:28:35 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-02 03:28:35 +0200
commitd0a76f4574313e004606d11deba2f50f0417fa9d (patch)
tree3d295bc78e4796a0d431b9a8ceda7951db0f9dc4 /fnl/config/hop.fnl
parent1b534d96b4689145770363cc6c6877ca7e41a904 (diff)
Replace lightspeed with hop
Diffstat (limited to 'fnl/config/hop.fnl')
-rw-r--r--fnl/config/hop.fnl8
1 files changed, 8 insertions, 0 deletions
diff --git a/fnl/config/hop.fnl b/fnl/config/hop.fnl
new file mode 100644
index 0000000..f623c0f
--- /dev/null
+++ b/fnl/config/hop.fnl
@@ -0,0 +1,8 @@
+;; Hopping in text.
+(module config.hop {autoload {util util nvim aniseed.nvim}})
+
+(let [hop (util.load-plugin :hop)]
+ (hop.setup {}))
+
+(nvim.set_keymap :n :s ":HopChar2<cr>" {:silent true})
+(nvim.set_keymap :n :S ":HopWord<cr>" {:silent true})