Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Vim custom color     - Linux configuration Samba server (Server)

- ORA-00824: can not set sga_target due to existing problem-solving (Database)

- Linux LVM space expansion Demo (Linux)

- The difference between Objective-C language nil, Nil, NULL, NSNull (Programming)

- How to set IonCube Loaders in Ubuntu (Linux)

- Linux file system management partition, format, mount - label mount (Linux)

- Node.js developers must know four JavaScript concepts (Programming)

- findmnt- Looking mounted file system (Linux)

- Enterprise-class GitHub warehousing environment build (Server)

- The correct way to open Xcode - Debugging (Programming)

- BackTrack (BT3, BT4) Linux installation tutorial (Linux)

- Why did not Oracle privileges can also log in with sysdba (Database)

- Delay for the specified IP port analog network to send and receive packets on Linux (Linux)

- MySQL 5.6.26 source install (Database)

- C ++ Supplements - Virtual Function Principle (Programming)

- MySQL5.7 implement virtual column expression index (Database)

- CentOS 6.5 installation configuration DRBD (Server)

- ctop: monitor container performance Linux command line artifact (Linux)

- MySQL uses mysqld_multi to deploy stand-alone multi-instance detail procedures (Database)

- VMware Workstation virtual machine cloning (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:      
 
- CentOS7 install and configure Nagios (Server)
- Ubuntu Linux installation GAMIT10.6 (Linux)
- Linux operating system security can not be ignored (Linux)
- Linux bash: scp: command not found the problem (Linux)
- Linux find and xargs (Linux)
- Examples 14 grep command (Linux)
- xCAT error Unable to dispatch hierarchical sub-command to NORESOLUTION: 3001 (Linux)
- Using Linux strace command trace / debug a program commonly used options (Linux)
- OpenStack image production in the CentOS 6.2 (Linux)
- Linux security settings Basics (Linux)
- About Linux operating system security (Linux)
- Using Vagrant create cross-platform development environment (Linux)
- Copy files between two Linux hosts (Linux)
- Open source backup software installed on Ubuntu Systemback 1.6.201 (Linux)
- CentOS7 install NTFS-3G driver (Linux)
- Node.js development environment deployment (Server)
- Vim Getting Started Tutorial (Linux)
- tar decompression problems gzip: stdin: not in gzip format (Linux)
- Binary tree and some basic operations with binary list (Programming)
- ORA-04091 and Compound Trigger (Oracle 11g) (Database)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.