diff options
| author | delta <darkussdelta@gmail.com> | 2026-04-17 08:10:30 +0200 |
|---|---|---|
| committer | delta <darkussdelta@gmail.com> | 2026-04-17 08:10:30 +0200 |
| commit | a7c79cb5a04562be10347856642a80f0c4be89fc (patch) | |
| tree | 98fac95855d84f5037a1c6f44061cbe94b550600 /.config/nvim/lua/plugins/leap.lua | |
| parent | 225eeafcea67d63a608f9c666faf2a2ef014be4a (diff) | |
Diffstat (limited to '.config/nvim/lua/plugins/leap.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/leap.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/leap.lua b/.config/nvim/lua/plugins/leap.lua new file mode 100644 index 0000000..891d99f --- /dev/null +++ b/.config/nvim/lua/plugins/leap.lua @@ -0,0 +1,14 @@ +return { + "https://codeberg.org/andyg/leap.nvim", + config = function() + local leap = require "leap" + -- leap.add_default_mappings() + vim.keymap.set({'n', 'x', 'o'}, 's', '<Plug>(leap-forward)') + vim.keymap.set({'n', 'x', 'o'}, 'S', '<Plug>(leap-backward)') + -- vim.keymap.set('n', 'gs', '<Plug>(leap-from-window)') + leap.opts.highlight_unlabeled_phase_one_targets = true + end, + dependencies = { + "tpope/vim-repeat", + }, +} |
