Open Oneechan69 opened 1 month ago
You can achieve that by setting the Modes<mode>CursorLineNr
highlight, where <mode>
is one of Delete
|Copy
|Visual
|Insert
For Normal mode, simply set the CursorLineNr
highlight
Here is a preview when I set ModesDeleteCursorLineNr
to have a darker background than the cursorline
Beside CursorLine
, modes.nvim has highlight groups to modify CursorLineNr
, CursorLineFold
, and CursorLineSign
, they are prefixed with Modes<mode>*
, I wish I had time to document them
Actually, configuring the appearance via highlight groups is my preferred way to configure modes.nvim
This Reddit post shows off a similar plugin but it also shows a background color on the line number (line 13) https://new.reddit.com/r/neovim/comments/1g1rc41/my_very_first_plugin_linenumberchangemodenvim/