Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Neovim
  3. nvim-cursorline

nvim-cursorline

MITLua

A Neovim plugin that highlights the word under the cursor and shows/hides cursorline based on cursor movement.

GitHubGitHub
472 stars28 forks0 contributors

What is nvim-cursorline?

nvim-cursorline is a Neovim plugin that enhances the editing experience by providing visual feedback through cursor-based highlighting. It underlines the word under the cursor and dynamically manages cursorline visibility based on cursor movement. The plugin helps developers maintain better orientation in their code and reduces visual searching during editing sessions.

Target Audience

Neovim users who want improved visual feedback and cursor tracking while editing code or text. Particularly useful for developers working with complex codebases who need better position awareness.

Value Proposition

Developers choose nvim-cursorline for its lightweight, focused approach to cursor enhancement without bloat. It combines word highlighting and intelligent cursorline management in one configurable package, drawing inspiration from established Vim plugins while being built specifically for Neovim's modern architecture.

Overview

A plugin for neovim that highlights cursor words and lines

Use Cases

Best For

  • Improving code navigation in large files
  • Reducing eye strain during long coding sessions
  • Tracking variable names and identifiers while editing
  • Maintaining orientation in complex code structures
  • Enhancing visual feedback in minimalist Neovim setups
  • Configuring cursor behavior for specific filetypes

Not Ideal For

  • Users needing advanced cursor animations or effects beyond basic hiding/showing, such as smooth transitions or context-aware highlighting
  • Developers using vanilla Vim or editors other than Neovim, as it relies on Neovim-specific Lua APIs
  • Those with comprehensive cursor enhancement suites already installed, who might face redundancy or plugin conflicts

Pros & Cons

Pros

Effective Word Highlighting

Underlines the word under the cursor with a configurable minimum length, as shown in the README video, providing clear visual feedback for identifiers during editing.

Dynamic Cursorline Management

Automatically hides the cursorline after a user-defined timeout when the cursor is idle, reducing visual clutter without manual intervention, with timeout settings adjustable in setup.

Granular Filetype Control

Allows disabling the plugin for specific filetypes or buffer types via the disable_filetypes and disable_buftypes options, offering precise control over its application.

Lightweight and Focused

Combines word highlighting and cursorline toggling in a single minimal plugin, avoiding bloat while drawing inspiration from established Vim plugins like vim-cursorword.

Cons

Feature-Limited Scope

Only provides basic word underlining and cursorline toggling; lacks advanced features such as multi-cursor support, integration with syntax highlighting, or animation effects.

Neovim-Exclusive Dependency

Requires Neovim and Lua configuration, making it inaccessible for Vim users or those unfamiliar with Neovim's modern setup, as noted in the installation instructions.

Sparse Advanced Documentation

The README covers basic setup but lacks detailed examples for complex customizations, troubleshooting, or integration with other plugins, which may require community support.

Frequently Asked Questions

Quick Stats

Stars472
Forks28
Contributors0
Open Issues2
Last commit4 months ago
CreatedSince 2020

Tags

#visual-feedback#neovim-plugin#developer-productivity#text-editor-enhancement#code-navigation#neovim#lua#lua-configuration

Built With

N
Neovim
L
Lua

Included in

Neovim20.6k
Auto-fetched 11 hours ago

Related Projects

vim-illuminatevim-illuminate

illuminate.vim - (Neo)Vim plugin for automatically highlighting other uses of the word under the cursor using either LSP, Tree-sitter, or regex matching.

Stars2,461
Forks76
Last commit1 year ago
modicator.nvimmodicator.nvim

Cursor line number mode indicator plugin for Neovim

Stars369
Forks11
Last commit2 months ago
stcursorwordstcursorword

A concise, precise, and high-performance cursor word highlighting plugin for Neovim, implemented in Lua.

Stars83
Forks1
Last commit7 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub