Modify the VIM color scheme

Source: Internet
Author: User

1. View Alternative Color schemes

/usr/share/vim/vim74/colors

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6F/4D/wKioL1WYnoWwkSZlAAEpERAq0jA172.jpg "title=" Qq20150705105540.png "alt=" Wkiol1wynowwkszlaaeperaq0ja172.jpg "/>2. View the currently used color scheme

Enter in command mode: ColorScheme

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/50/wKiom1WYnXnTdCclAABZ1N_B_F4199.jpg "style=" float: none; "title=" Qq20150705105830.png "alt=" Wkiom1wynxntdcclaabz1n_b_f4199.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/4D/wKioL1WYn0SSXVe_AABQJxsm3jc958.jpg "style=" float: none; "title=" Qq20150705105847.png "alt=" Wkiol1wyn0ssxve_aabqjxsm3jc958.jpg "/>

It is visible that the current color scheme used is Ron

3. Select and set the Color method

Edit the ~/.VIMRC file, such as selecting the Ron.vim corresponding color scheme, add ColorScheme Ron

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6F/50/wKiom1WYnd_j9udxAACkwLfYIX0629.jpg "title=" Qq20150705105710.png "alt=" Wkiom1wynd_j9udxaackwlfyix0629.jpg "/>

4. Set a color--edit the VIMRC file

eg. Set the annotation color, edit the ~/.VIMRC file, add:

"Set annotation color highlight Comment ctermfg=green guifg=green


Reference Links: 10 The Vim color scheme you deserve


This article is from "Whispering Autumn Wind" blog, please be sure to keep this source http://xjhznick.blog.51cto.com/3608584/1671030

Modify the VIM color scheme

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.