From 217722523deae12d9dc760846c6649860fac940a Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 10 Oct 2022 23:23:56 +0200 Subject: Replace hop with leap and flit --- fnl/config/leap.fnl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 fnl/config/leap.fnl (limited to 'fnl/config/leap.fnl') diff --git a/fnl/config/leap.fnl b/fnl/config/leap.fnl new file mode 100644 index 0000000..cb6a267 --- /dev/null +++ b/fnl/config/leap.fnl @@ -0,0 +1,19 @@ +;; Leap through text. +(module config.leap {autoload {: util nvim aniseed.nvim}}) + +(def- opts {:max_aot_targets nil + :highlight_unlabeled false + :max_highlighted_traversal_targets 10 + :case_sensitive false + :equivalence_classes [" \t\r\n"] + :substitute_chars [] + :special_keys {:repeat_search : + :next_aot_match : + :next_match [";" :] + :prev_match ["," :] + :next_group : + :prev_group :}}) + +(let [leap (util.load-plugin :leap)] + (leap.setup opts) + (leap.set_default_keymaps)) -- cgit v1.2.3-70-g09d2