0

I'm trying to change the default Line Number coloring.

From this thread I found that I can change the line number by issuing something like:

:highlight LineNr guifg=Red

But, how do I save this to my ~/.vimrc?

In my ~/.vimrc, if I added:

highlight LineNr guifg=Red

the new Vim window is still having the yellow line number.

romainl
  • 186,200
  • 21
  • 280
  • 313
Ha Choo
  • 153
  • 1
  • 5

1 Answers1

2

From this gist:

augroup MyColors
    autocmd!
    autocmd ColorScheme default highlight LineNr guifg=red
augroup END
romainl
  • 186,200
  • 21
  • 280
  • 313