diff options
author | Gustaf Rydholm <gustaf@nexure.io> | 2022-10-11 09:04:28 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf@nexure.io> | 2022-10-11 09:04:28 +0200 |
commit | 8137459a0a2b3c049ab4586acd1d1cd35e6b4c0e (patch) | |
tree | f2da6e47f3cdcc41deb127f570bdf5b1360267e7 /fnl/config/leap.fnl | |
parent | d01b8e0db9bb355c3dbbd22dc47beadbea660690 (diff) | |
parent | 69483c9b53e8d14e7c4398380ac64b2ea8c27887 (diff) |
Merge branch 'master' of github.com:aktersnurra/nvim
Diffstat (limited to 'fnl/config/leap.fnl')
-rw-r--r-- | fnl/config/leap.fnl | 19 |
1 files changed, 19 insertions, 0 deletions
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 :<enter> + :next_aot_match :<enter> + :next_match [";" :<enter>] + :prev_match ["," :<tab>] + :next_group :<space> + :prev_group :<tab>}}) + +(let [leap (util.load-plugin :leap)] + (leap.setup opts) + (leap.set_default_keymaps)) |