From 50b284639372cade97360e2ba98d3d05e6f5a942 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 5 Jan 2026 14:17:14 +0100 Subject: update --- fnl/plugins/harpoon.fnl | 11 +++++------ fnl/plugins/leap.fnl | 12 ++++++------ 2 files changed, 11 insertions(+), 12 deletions(-) (limited to 'fnl') diff --git a/fnl/plugins/harpoon.fnl b/fnl/plugins/harpoon.fnl index 1ae632c..3f8f7ac 100644 --- a/fnl/plugins/harpoon.fnl +++ b/fnl/plugins/harpoon.fnl @@ -1,6 +1,9 @@ ;; Harpoon files for navigation. -(local opts {:ui_max_width 64 :title " ⇁ "}) +(local opts + {:ui_max_width 64 + :title " ⇁ " + :settings {:save_on_toggle true :sync_on_ui_close true}}) (local user-cmds [[:HarpoonAdd (λ [] @@ -40,8 +43,4 @@ (select 4)) :desc "Fourth Harpoon"}]) -{1 :ThePrimeagen/harpoon - :branch :harpoon2 - :event :BufRead - : init - : keys} +{1 :ThePrimeagen/harpoon :branch :harpoon2 :event :BufRead : init : keys} 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 "(leap-from-window)"))) + (vim.keymap.set [:n :x :o] :s "(leap-forward)") + (vim.keymap.set [:n :x :o] :S "(leap-backward)") + (vim.keymap.set [:x :o] :x "(leap-forward-till)") + (vim.keymap.set [:x :o] :X "(leap-backward-till)") + (vim.keymap.set [:n] :gs "(leap-from-window)"))) -{1 :ggandor/leap.nvim - : dependencies - :event :VeryLazy - : config} +{1 :ggandor/leap.nvim : dependencies :event :VeryLazy : config} -- cgit v1.2.3-70-g09d2