Vim color scheme settings (replace vim color scheme)

Source: Internet
Author: User

vim color, I set the background is black, the font is green, and then set the folder as magenta, the default note for the yellow light; in fact, there is a simple way, is set to the system configuration of the color scheme; reprint article is as follows:----------------
(1) After installing VIM, execute command whereis vim you will see the result: Vim:/usr/bin/vim/usr/share/vim/usr/share/man/man1/vim.1.gz Note:/usr/share/vim For vim to provide users with shared data or settings options (2) created in your home directory. Vimrcset tabstop=4set softtabstop=4set shiftwidth=4set autoindentset cindentset Cinoptions={0,1s,t0,n-2,p2s, (03s,=.5s,>1s,=1s,:1sset expandtab www.2cto.com (3) Add a color scheme first to see what's in your system, From (1) We know the execution command ls-l/usr/share/vim/vim70/colors/can see-rw-r--r--1 root root 2588 2011-03-06 blue.vim-rw-r--r--1 root ro OT 2809 2011-03-06 darkblue.vim-rw-r--r--1 root root 548 2011-03-06 default.vim-rw-r--r--1 root root 2399 2011-03-06 de lek.vim-rw-r--r--1 root root 2812 2011-03-06 desert.vim-rw-r--r--1 root root 1666 2011-03-06 elflord.vim-rw-r--r--1 roo T root 2476 2011-03-06 evening.vim-rw-r--r--1 root root 3238 2011-03-06 koehler.vim-rw-r--r--1 root root 2460 2011-03-06 Morning.vim
-rw-r--r--1 root root 2006 2011-03-06 murphy.vim-rw-r--r--1 root root 1037 2011-03-06 pablo.vim-rw-r--r--1 root root 26 2011-03-06 peachpuff.vim-rw-r--r--1 root root 2174 2011-03-06 readme.txt-rw-r--r--1 root root 1239 2011-03-06 Ron.vim -rw-r--r--1 root root 2720 2011-03-06 shine.vim-rw-r--r--1 root root 2419 2011-03-06 slate.vim-rw-r--r--1 root root 162 7 2011-03-06 torte.vim-rw-r--r--1 root root 1840 2011-03-06 Zellner.vim www.2cto.com so we know the name of the color scheme is Morning,evening,dese RT and so on, if we want to change the color scheme to evening, then we just need to add a line ColorScheme evening in. Vimrc. (4) If you feel that the color scheme is too small, you can download the color scheme from the outside, here is a URL: http://vimcolorschemetest.googlecode.com/svn/colors/
You can use the tool wget to download it, then put the. vim file into the/usr/share/vim/vim70/colors/directory, and then change the. VIMRC to take effect.

Vim color scheme settings (replace 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.