Custom VIM display file color

Source: Internet
Author: User
Custom VIM display file color-Linux Enterprise Application-Linux server application information. See the following for details. For example, if you use putty to log on to the host, the directory color displayed by the ls command is dark blue, which is very dazzling. After a long time, your eyes will be uncomfortable.

Add related fields to/etc/profile to define the color of VIM input:
CODE: declare-x LS_COLORS = "no = 00: fi = 00: di = 01; 34: ln = 01; 36: pi = 40; 33: so = 01; 35: bd = 40; 33 ;\
01: cd = 40; 33; 01: or = 01; 05; 37; 41: mi = 01; 05; 37; 41: ex = 01; 32 :*. cmd = 01; 32 :\
*. Exe = 01; 32 :*. com = 01; 32 :*. btm = 01; 32 :*. bat = 01; 32 :*. sh = 01; 32 :*. csh = 01; 32 \
:*. Tar = 01; 31 :*. tgz = 01; 31 :*. arj = 01; 31 :*. taz = 01; 31 :*. lzh = 01; 31 :*. zip = 01; 31 :*. z = 01 \
; 31 :*. Z = 01; 31 :*. gz = 01; 31 :*. bz2 = 01; 31 :*. bz = 01; 31 :*. tz = 01; 31 :*. rpm = 01; 31 :*. cpio = 01 \
; 31 :*. jpg = 01; 35 :*. gif = 01; 35 :*. bmp = 01; 35 :*. xbm = 01; 35 :*. xpm = 01; 35 \
: *. Png = 01; 35: *. tif = 01; 35 :"

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.