The font color that is commented out in VI defaults to blue and cannot be seen clearly, you can change the color configuration by setting the. vimrc file in the user's root directory.
Use the Hi command to modify the color of the annotation, using the method:
Set keyword Blue not bold: Hi Identifier ctermfg =blue cterm=none (bold is set to bold)
1, vi ~/.VIMRC Add the following content:
Hi Comment ctermfg =blue//change vi annotation content font color, can be modified to: white, Darkyellow,//blue and other colors
The following is vim different keyword Font Color modification method
Modify String Color
Hi String ctermfg =darkred
Modify Type Color
Hi Type ctermfg =yellow
Modify the number color
Hi number CTERMFG =darkblue
Modifying a constant color
Hi Constant ctermfg =blue
Modify the Declaration color
Hi Statement ctermfg =darkyellow