Skip to content

Neovim plugin that adds H/M/L indicators to your line numbers

License

Notifications You must be signed in to change notification settings

mawkler/hml.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HML.nvim

Adds H/M/L indicators to your line number column.

hml.nvim screenshot

By default in Neovim, H/M/L jump to the highest, middle, and lowest line in the current visible window. If you have scrolloff set, it can be dificult to tell exactly which lines they correspond to. This plugin helps you visualize this.

In the screenshot above I have set scrolloff to 3.

Setup

With lazy.nvim:

{
  'mawkler/hml.nvim',
  opts = {}
}

Configuration

To set line numbers relative to your cursor's line, see :help 'relativenumber'.

Default configuration

{
  signs = {
    H = 'H', -- Sign to use for the `H` line number
    M = 'M', -- Sign to use for the `M` line number
    L = 'L', -- Sign to use for the `L` line number
  },
}

About

Neovim plugin that adds H/M/L indicators to your line numbers

Topics

Resources

License

Stars

Watchers

Forks

Languages