summaryrefslogtreecommitdiff
path: root/fnl/plugins/leap.fnl
diff options
context:
space:
mode:
authoraktersnurra <gustaf@gustafrydholm.xyz>2026-04-16 15:10:52 +0200
committeraktersnurra <gustaf@gustafrydholm.xyz>2026-04-17 23:28:47 +0200
commit152fd9d787c7433cad95795992e444250cb83216 (patch)
tree0ae3b4a3b42005dc08b1400981cfc4c1f37297fe /fnl/plugins/leap.fnl
parent83a7f3505a441f1c152229d50a3d6011951a82fc (diff)
Add fff and other nice things such as macros
Diffstat (limited to 'fnl/plugins/leap.fnl')
-rw-r--r--fnl/plugins/leap.fnl11
1 files changed, 2 insertions, 9 deletions
diff --git a/fnl/plugins/leap.fnl b/fnl/plugins/leap.fnl
index 397b873..0526109 100644
--- a/fnl/plugins/leap.fnl
+++ b/fnl/plugins/leap.fnl
@@ -1,12 +1,6 @@
;; Leap through text.
-(local dependencies [{1 :ggandor/flit.nvim
- :event :VimEnter
- :opts {:keys {:f :f :F :F :t :t :T :T}
- :labeled_modes :v
- :multiline true
- :opts {}}}
- {1 :tpope/vim-repeat :event :VeryLazy}
+(local dependencies [{1 :tpope/vim-repeat :event :VeryLazy}
{1 :aktersnurra/leap-spooky.nvim
:event :VeryLazy
:opts {;; Additional text objects, to be merged with the default ones.
@@ -32,7 +26,7 @@
(λ config []
(let [leap (require :leap)]
- (leap.setup {})
+ (tset leap.opts.vim_opts "go.ignorecase" false)
(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)")
@@ -40,7 +34,6 @@
(vim.keymap.set [:n] :gs "<Plug>(leap-from-window)")))
{:url "https://codeberg.org/andyg/leap.nvim"
-:name :leap.nvim
: dependencies
:event :VeryLazy
: config}