Modify VIM Font Color

Source: Internet
Author: User
through putty or SECURECRT connected to the Linux server, the use of VI editing *.php or *.c files, The blue comments are very light, can not see clearly, looks very cost eye effect as follows I am accustomed to the default color, do not want to modify the color scheme, just want to see the Blue Note   Release, modified into a catalog of blue turned over the relevant information, most of them are modified color scheme, and finally found that you can use the Hi command to modify the color of the comments. Hi instructions Use the method to set the keyword to blue non-bold: Hi Identifier ctermfg =blue cterm =none (bold is set to bold) then our problem can be solved by adding a Hi directive 1. VI ~/.VIMRC Add the following content Hi Comment ctermfg =blue 2. Modified effect
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 digital color hi number CTERMFG =darkblue Modify constant Color hi Constant ctermfg =blue Modify declaration color Hi Statement CTERMFG =darkyellow

Modify VIM Font Color

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.