summaryrefslogtreecommitdiff
path: root/fnl/plugins/leap.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2026-01-05 14:17:14 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2026-01-05 14:17:14 +0100
commit50b284639372cade97360e2ba98d3d05e6f5a942 (patch)
tree168b98cb36e9430073e545968dc8d60c0f89055a /fnl/plugins/leap.fnl
parent7a3283e00b872f44b1bb116905164f68860848f7 (diff)
update
Diffstat (limited to 'fnl/plugins/leap.fnl')
-rw-r--r--fnl/plugins/leap.fnl12
1 files changed, 6 insertions, 6 deletions
diff --git a/fnl/plugins/leap.fnl b/fnl/plugins/leap.fnl
index 5a80dbe..e7d3133 100644
--- a/fnl/plugins/leap.fnl
+++ b/fnl/plugins/leap.fnl
@@ -33,10 +33,10 @@
(λ config []
(let [leap (require :leap)]
(leap.setup {})
- (leap.create_default_mappings)
- (vim.keymap.set [:n :x :o] :gs "<Plug>(leap-from-window)")))
+ (vim.keymap.set [:n :x :o] :s "<Plug>(leap-forward)")
+ (vim.keymap.set [:n :x :o] :S "<Plug>(leap-backward)")
+ (vim.keymap.set [:x :o] :x "<Plug>(leap-forward-till)")
+ (vim.keymap.set [:x :o] :X "<Plug>(leap-backward-till)")
+ (vim.keymap.set [:n] :gs "<Plug>(leap-from-window)")))
-{1 :ggandor/leap.nvim
- : dependencies
- :event :VeryLazy
- : config}
+{1 :ggandor/leap.nvim : dependencies :event :VeryLazy : config}