summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor/leap.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/plugins/editor/leap.fnl')
-rw-r--r--fnl/plugins/editor/leap.fnl17
1 files changed, 17 insertions, 0 deletions
diff --git a/fnl/plugins/editor/leap.fnl b/fnl/plugins/editor/leap.fnl
new file mode 100644
index 0000000..6c2eb53
--- /dev/null
+++ b/fnl/plugins/editor/leap.fnl
@@ -0,0 +1,17 @@
+;; Leap through text.
+
+(fn setup []
+ (let [leap (require :leap)]
+ (leap.setup {})
+ (leap.set_default_keymaps)))
+
+{1 :ggandor/leap.nvim
+ :dependencies {1 :ggandor/flit.nvim
+ :event :BufReadPost
+ :opts {:keys {:f :f :F :F :t :t :T :T}
+ :labeled_modes :v
+ :multiline true
+ :opts {}}}
+ :event :BufReadPost
+ :config (fn []
+ (setup))}