Skip to content

A plugin for neovim that highlights cursor words and lines

License

Notifications You must be signed in to change notification settings

jamischarles/nvim-cursorline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How this fork differs:

Flips the functionality. Hidden by default. Higlights line after you move cursors. Hides line after short timeout.

nvim-cursorline

Highlight words and lines on the cursor for Neovim

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

Installation

Install with your favorite plugin manager.

Usage

require('nvim-cursorline').setup {
  cursorline = {
    enable = true,
    timeout = 1000,
    number = false,
  },
  cursorword = {
    enable = true,
    min_length = 3,
    hl = { underline = true },
  }
}

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%