diff options
| author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2026-01-05 14:17:14 +0100 |
|---|---|---|
| committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2026-01-05 14:17:14 +0100 |
| commit | 50b284639372cade97360e2ba98d3d05e6f5a942 (patch) | |
| tree | 168b98cb36e9430073e545968dc8d60c0f89055a /fnl | |
| parent | 7a3283e00b872f44b1bb116905164f68860848f7 (diff) | |
update
Diffstat (limited to 'fnl')
| -rw-r--r-- | fnl/plugins/harpoon.fnl | 11 | ||||
| -rw-r--r-- | fnl/plugins/leap.fnl | 12 |
2 files changed, 11 insertions, 12 deletions
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 "<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} |