Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Vim custom color     - Hadoop 2.7.1 Installation and Configuration under RedHat Linux 6.5 (Server)

- Linux reserves the rest of the file to delete several (Linux)

- crontab cause CPU exception Analysis and Processing (Linux)

- When Vim create Python scripts, vim autocomplete interpreter and encoding method (Programming)

- Sublime Text 3 practical functions and shortcut keys used to collect (Linux)

- Linux can modify the maximum number of open files (Linux)

- Deep understanding of C # generics (Programming)

- How to clean up your Ubuntu 14.10 / 14.04 / 13.10 system (Linux)

- grep regular expression (Linux)

- Linux basic introductory tutorial ---- simple text processing (Linux)

- Linux Creating a new user error Creating mailbox file: File exists (Linux)

- MySQL view (Database)

- True and false in Perl (Programming)

- Free compiler install MySQL-5.6.14 (Database)

- Try debugfs restore the deleted files ext3 file system (Linux)

- Running the open-source Swift under Linux platform (Linux)

- GEC2440 easiest a kernel compile Linux2.6.30.4 (Programming)

- Shared directory settings between Linux and Linux (Linux)

- Install NetBeans IDE 8.0 on Ubuntu, Linux Mint, Elementary OS, and Debian (Linux)

- Paint with Vim (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!
- Linux Security and Optimization (Linux)
- Computer black magic: tail recursion (Programming)
- Getting Started Linux Shell Scripting (Programming)
- Simple Linux file system - df, du, ln (Linux)
- Difference Redhat5 and 6 YUM source configuration (Linux)
- Explore Android SQLite3 multithreading (Programming)
- UUID in Java (Programming)
- How to install Perl modules from CPAN (Linux)
- Vagrant build LNMP environment (Server)
- To help you easily protect the Linux System (Linux)
- grep command Series: grep command to search for multiple words (Linux)
- C ++ How to determine the types of constants (Programming)
- Two strokes to improve development productivity Struts2 (Programming)
- Analysis RabbitMQ cluster (Server)
- Linux host dual LAN transceiver package ARP problem (Linux)
- systemd Power Management (Linux)
- Linux serial debugging tools xgcom install (Linux)
- Linux server data backup (Server)
- Getting case of Python Hello World (Programming)
- Thinking in Java study notes - initialization and cleanup (Programming)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.