Home

Awesome

command-and-cursor.nvim

Highlight cursor and visual selections when entering command mode (experimental).

Demo

command-and-cursor-2024-04-18_13.31.53.webm

Features

Motivation

Installation

Use your favorite plugin manager:

Lazy

{
  "moyiz/command-and-cursor.nvim",
  event = "VeryLazy",
  opts = {},
}

Options

M.defaults = {
  hl_group = "TermCursor", -- The highlight group to use.
  hl_priority = 300,       -- Priority of highlight
  inclusive = true,        -- Highlight cursor with visual selection.
  debug_position = false,  -- Show start and end positions with `vim.notify`.
}

License

See LICENSE.