morhetz / gruvbox

Retro groove color scheme for Vim
13.59k stars 1.1k forks source link

Disabling background color for current cursor #358

Closed paniash closed 3 years ago

paniash commented 3 years ago

Hello!

Is there a way to disable the background color to 'none' for the current cursor position in relative line numbering. I would like to do the following: pic-selected-201011-1814-43

The background color for cursor position (71) is different compared to the 'dark' contrast option for gruvbox. I would like this color to match with the 'dark' contrast option.

paniash commented 3 years ago

Never mind, I figured it out. For anyone interested, add the following line in your .vimrc:

highlight CursorLineNr ctermbg=NONE guibg=NONE