megalithic / nvim-cursorline

A plugin for neovim that highlights cursor words and lines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A plugin for neovim that highlights cursor words and lines

License:MIT License


Languages

Language:Lua 83.2%Language:Vim Script 16.8%