yamatsum/nvim-cursorline

github github
cursorline plugin
star 129
stars
alert-circle 6
open issues
users 1
subscribers
git-branch 9
forks
CREATED

2020-12-06

UPDATED

yesterday

packer

require('packer').startup(function()
  use 'yamatsum/nvim-cursorline'
end)

paq

require "paq" { 
  'yamatsum/nvim-cursorline'
}

nvim-cursorline

Highlight words and lines on the cursor for Neovim

  • Underlines the word under the cursor.
  • Show / hide cursorline in connection with cursor moving.

demo

Installation

Install with your favorite plugin manager.

Highlighting

You can override cursor highlighting by defining CursorWord group and disabling built-in highlighting by specifying vim.g.cursorword_highlight (lua) or g:cursorword_highlight (vimscript).

To lower the time it takes to make the cursorline appear, set vim.g.cursorline_timeout (lua) or g:cursorline_timeout (vimscript), where 1000 is the default value in milliseconds.

Acknowledgments

Thanks goes to these people/projects for inspiration:

License

This software is released under the MIT License, see LICENSE.