The default colors for comments (texts in /* */ or following // or #, …) in vi code highlighting are a little too dark. Ever wanted to make it more recognizable in SSH console?
Find and edit /etc/vim/vimrc with vi:
And add in this line:
Wherein desert is one of the available color schemes vim comes with. Now we will need to edit the actual color scheme file and change the highlighting colors:
hi Comment ctermfg=darkcyan
hi Comment ctermfg=blue
Save the change and exit. Run:
And the changes will now take effect.
The default directory color of ls –color is also too dark, you can learn how to change the default directory color of ls –color.