Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Vim custom color     - Learning C language pointer essays (Programming)

- CentOS RedHat YUM Source Extensions Supplement (including 32-bit, 64-bit) (Linux)

- Python: Finding meet the conditions specified in the file directory (Programming)

- Advanced permissions Linux file system settings (Linux)

- Compile and install Redis and register as a system service under RedHat5.8 environment (Database)

- How to configure HTTP Strict Transport Security (HSTS) (Linux)

- Linux kernel network subsystem analysis (Programming)

- CentOS permanently banned from running in the background PackageKit (Linux)

- To create a Linux server network security (Linux)

- Tune in high resolution to 1280x800 in Fedora 14 (Linux)

- AngularJS achieve picture upload feature (Programming)

- map and hash_map STL containers (Programming)

- The Definitive Guide to Linux NAT network connection (Linux)

- C ++ type conversion and RTTI (Programming)

- Oracle 11g manually create a database (Database)

- Linux package management (Linux)

- Talking about modern programming language syntax and standard library tightly bound phenomenon (Programming)

- How to test your MongoDB application upgrade? (Database)

- To establish a secure and reliable Linux operating system (Linux)

- Linux md5sum verify file integrity (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:      
 
- Linux System Getting Started Learning: On Linux how to convert text files to PDF (Linux)
- How Ubuntu Snappy Core 2 running on Raspberry Pi (Linux)
- iOS custom keyboard emoji expression (Programming)
- An example of troubleshooting of embedded Linux OpenWRT (Linux)
- Linux system - The understanding cpu load (Linux)
- Solve the compatibility problem between Linux and Java at the source in bold font (Linux)
- Spring3 + SpringMVC + Hibernate4 full annotation environment configuration (Server)
- Oracle 12c users create (Database)
- Go performed using iOS and Android programming (Programming)
- MySQL IO SSD attempt at optimization (Database)
- RabbitMQ installation, configuration, monitoring (Linux)
- Java programmers talk about those advanced knowledge and direction (Programming)
- awk Programming Model (Programming)
- Linux Nginx FastDFS integration module is installed Nginx and FastDFS (Server)
- Hadoop2.6.3 build clusters and the development of MapReduce WIN7 by Eclipse on Linux demo (Server)
- PHP 7.0 Upgrade Notes (Linux)
- The difference between free command displays the buffers and cache (Linux)
- Docker Private Registry Installation Guide at CentOS6.X (Linux)
- Linux / CentOS 7.0 installation and configuration under Tomcat 8.0 (Server)
- Redis 3.0.3 Cluster Setup (Database)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.