diff options
Diffstat (limited to 'fnl/plugins/leap.fnl')
| -rw-r--r-- | fnl/plugins/leap.fnl | 12 |
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} |