Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Vim custom color     - Some Linux networking tools you might not know (Linux)

- Linux iptables firewall settings to use (Linux)

- How to view the Linux graphics hardware information (Linux)

- Ubuntu install driver manager Mint Driver Manager and Device Driver Manager (Linux)

- HBase in MVCC implementation mechanism and its application (Database)

- Oracle Bug caused by the collection of AWR Snapshot fault (Database)

- Linux device driver development small example --LED lights (Programming)

- Simple Linux file system - df, du, ln (Linux)

- Vi syntax highlighting settings (Linux)

- To setup the Swift language learning environment under linux (Linux)

- Linux basic articles of the boot process (Linux)

- Object-C in the preparation of multi-parameter function parameter is omitted (Programming)

- To install Internet security firewall Raiders (Linux)

- 32-bit and 64-bit integer in PHP and MySQL range (Database)

- Gitlab installation under CentOS 7 (Linux)

- Java proxy mode (Programming)

- Oracle local user login authentication fails ORA-01031 insufficient privileges (Database)

- Oracle 12C modify spfile path (Database)

- Deploy the project to the server from GitHub (Server)

- IronPython and C # to interact (Programming)

 
         
  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:      
 
- Why learn and use C language (Programming)
- MySQL Slave synchronization problem solving (Database)
- Linux print file and send mail (Linux)
- JavaScript closures and the scope chain (Programming)
- Linux System Getting Started Tutorial: Linux file permissions brief description (Linux)
- Lambda expressions of evolution (Programming)
- Oracle Database import and export combat (Database)
- Oracle Client Dedicated and Shared connection mode (Database)
- Windows Ubuntu dual system a key Ghost, grub rescue prompt solution (Linux)
- CentOS 7 x64 compiler installation Tengine 2.0.3 Comments (Server)
- Let your PHP 7 faster (GCC PGO) (Linux)
- Spring3 + SpringMVC + Hibernate4 full annotation environment configuration (Server)
- JVM garbage collector and memory allocation strategy (Programming)
- Java abstract class instantiation (Programming)
- CentOS 7 Change Hostname (Linux)
- Ubuntu 14.10 / Linux Mint 17.1 Win10 compiler install rdesktop 1.8.3 Remote Desktop connection (Linux)
- Recover accidentally deleted Nginx logs (Server)
- Git you do not know about some of the things (Linux)
- Using Java arrays implement sequential stack (Programming)
- Enable Intel Rapid Start in GNU / Linux (Linux)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.