Skip to content

doums/monark.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

monark.nvim

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.

Install

Use your plugin manager, eg. lazy.nvim

{
  'ggandor/leap.nvim',
  dependencies = {
    'doums/monark.nvim',
    opts = {},
  },
  opts = {
    -- your leap config
  },
}

Configuration

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`
})

License

Mozilla Public License 2.0

About

Enhances visual feedback when leaping

Topics

Resources

Stars

Watchers

Forks

Languages