PDA

View Full Version : How to set vi color?



youhaodeyi
15th April 2008, 04:45 AM
My vi shows the line number in yellow. How can I set the default line number color?

VictorienSardou
21st April 2008, 10:31 PM
:se nu
:hi LineNr ctermfg=darkcyan ctermbg=black
put any config in .vimrc with whatever colours you choose.