From 947ac0878b5a7ad99f71f5f4263ef28980215d17 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 4 Apr 2022 22:36:19 +0200 Subject: feat(hop): add fnl config --- fnl/config/hop.fnl | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 fnl/config/hop.fnl diff --git a/fnl/config/hop.fnl b/fnl/config/hop.fnl new file mode 100644 index 0000000..d12c650 --- /dev/null +++ b/fnl/config/hop.fnl @@ -0,0 +1,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" { :silent true }) +(nvim.set_keymap "n" "S" ":HopWord" { :silent true }) -- cgit v1.2.3-70-g09d2