An extension for leap.nvim
that draws a mark next to the cursor in the direction of the jump.
Enhances the visual feedback when leaping.
Note
Support only forward and backward motions.
Use your plugin manager, eg. lazy.nvim
{
'ggandor/leap.nvim',
dependencies = {
'doums/monark.nvim',
opts = {},
},
opts = {
-- your leap config
},
}
The configuration is optional.
Defaults are:
require('monark').setup({
-- mark glyph, hl and position relative to cursor
forward = { '❱', 'monarkLeap', position = 1 }, -- `s`
backward = { '❰', 'monarkLeap', position = -1 }, -- `S`
})
Mozilla Public License 2.0