Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Vim custom color     - KVM installation under CentOS 5.5 (Linux)

- Oracle 10g in the unique and index problems (Database)

- GoldenGate for Oracle data consistency initializing (Database)

- The bulk batch multiple rows of data collect (Database)

- RHEL 6.4 installed MySQL 5.6.27 (Database)

- Java input and output common class Scanner (Programming)

- MySQL enabled SSD storage (Database)

- Advanced permissions Linux file system settings (Linux)

- Linux systems dmesg command processing failures and system information collected seven usage (Linux)

- Linux Getting Started tutorial: GNU C and Vim will fight the C / C ++ IDE semi-automatic (Linux)

- Using Lua implement various operations list (Programming)

- FileZilla FTP && TLS connection settings of (Linux)

- Supervisor Installation and Configuration (Server)

- Big Data Common Glossary (Linux)

- Installation and Configuration ISC DHCP server on Debian Linux (Server)

- To create a secure network firewall with iptables Under Linux (Linux)

- Oracle 11g RMAN cross-platform transfer table space (Database)

- CentOS6 5 source compiler installation Hadoop2.5.1 (Server)

- To install Xen in Ubuntu 12.04 (Linux)

- Linux security settings Notes (Linux)

 
         
  Vim custom color
     
  Add Date : 2018-11-21      
         
         
         
  1. The first on the map

Here is the tcpdump source. Color configuration to your liking, I prefer bright colors, to see clearly!

2. Download the auxiliary profile

First, we download a vim plugin xterm-color-table.vim, download address: http: //www.vim.org/scripts/script.php script_id = 3412?

This plug-in can display a variety of colors corresponding to the terminal number, allowing you to make reference to the color of the moment.

After downloading the xterm-color-table.vim into your home directory ~ / .vim / plugin / below. Or put your global vim configuration folder inside.

Then open vim, enter the command mode: Xt, where uppercase x, lowercase t. Then press completion, completion of XtermColorTable, the following interface will appear after the carriage return

Tip: If you open, there is no color display, digital display of all, you need to bash in your environment file .bashrc like to join export TERM = xterm-256color, let the term open 256 colors

3. Color

vim default color man named desert.vim, this is the color scheme I started with. We took this change. Path in my machine /usr/share/vim/vim74/colors/desert.vim

cp copy to your home directory ~ / .vim / colors / below, or you go to global configuration folder, cp copy, change a different name.

We open this file, the following changes color. Modified, the original recommendation commented, cp a new line to prevent the reference would not error correction!

 1 "Comments
 2 hi Comment ctermfg = 14
 3 "Constant
 4 hi Constant ctermfg = 202
 5 "Special placeholders are% plus type, escape characters and the like in the C language
 6 hi Special ctermfg = 200
 7 "for if where, etc.
 8 hi Statement ctermfg = Yellow
 9 "preprocessing
10 hi PreProc ctermfg = 197
11 "Type
12 hi Type ctermfg = Green
13 "Color Search
14 hi Search term = bold ctermbg = 4 guibg = DarkBlue
The above ctermfg is to modify the color, "Yellow" "Green" These are the basic color term, in fact, can also be directly controlled XtermColorTable replaced by digital.

After modification, modification colorscheme remember this color corresponding to your name in your .vimrc file inside!
     
         
         
         
  More:      
 
- MariaDB 10.0.X, the dynamic column support JSON format to obtain data (Database)
- Math objects easily overlooked but very convenient method --JavaScript (Programming)
- Java Foundation - implicit conversion vs cast (Programming)
- Simple configuration shell scripts virtual machine environment experiment (Linux)
- iOS constants, variables, properties and characteristics (Programming)
- How to configure Proftpd server on Fedora 22 (Server)
- Linux system file directory structure Introduction (Linux)
- Use UDEV SCSI Rules configured ASM on Oracle Linux 5 and 6 (Database)
- Ubuntu 14.04 Fixed update information is outdated error (Linux)
- Ubuntu 15.10 15.04 14.10 14.04 Install Ubuntu Tweak (Linux)
- ASP.NET 5 tutorial series (Server)
- Ubuntu 15.04 / CentOS 7.0 to set custom boot (Linux)
- About Linux iptables firewall interview questions and answers (Linux)
- Ubuntu installed Komodo editor by PPA (Linux)
- Doubly linked list basic operations (Linux)
- Nginx server load balancing dual-system availability (Server)
- MySQL common functions summary (Database)
- To install Gitolite in Ubuntu / Fedora / CentOS (Linux)
- 24 Docker recommendations (Linux)
- How do you change the default browser and Email Client in Ubuntu (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.