Use putty or securecrt to connect to the linux server and use vi to edit *. php or *. in the c file, the blue comment is very light and hard to see. It looks very eye-catching. The effect is as follows: I have used to the default color, and I 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. Modified Effect
Modify the font color of different keywords in vim. Modify the String color hi String ctermfg = darkred modify the Type color hi Type ctermfg = yellow modify the numeric color hi Number ctermfg = darkblue modify the Constant color hi Constant ctermfg = blue modify declaration color hi Statement ctermfg = darkyellow