When you use putty or securecrt to connect to a Linux server and use VI to edit *. php or *. c files,
The blue comment is very light and hard to see. It looks very eye-catching. The effect is as follows. I am used to the default color scheme and don't want to modify the color scheme. I just want to replace the comment that cannot see the blue color, the blue color of the modified directory is used to flip over the relevant information. Most of them are to modify the color scheme. Finally, we can use the HI command to modify the color of the comment. Use the HI command to set the keyword to blue non-bold: Hi identifier ctermfg = blue cterm = none (bold is set to bold) then we can solve the problem by adding a hi command. VI ~ /. Add the following content to vimrc: Hi comment ctermfg = Blue 2. after modification, the following figure shows how to modify the font color of VIM different keywords. Modify string color Hi string ctermfg = darkred modify type color HI type ctermfg = yellow modify numeric color Hi number ctermfg = darkblue modify constant color hi constant ctermfg = blue modify declaration color Hi statement ctermfg = darkyellow