secureCRT permanent settings, eye protection, color scheme

The effect after color matching is as follows:

Let's start color matching

1. Options==>Sessions options==>Terminal==>Emulation

Check as marked in the picture, and click OK after checking.

2. Options==>Global options==>Terminal==>Apperance==>ANSI Color

 

ANSI colors are divided into two types, standard colors and bold colors

The color scheme of the bold color is mainly the color scheme prepared for the vim editor, some of which are reused

First, restore the default color and bold color to prevent the vim color scheme from messing up. We only need to modify a few colors.

font color (color for files with read and write permissions)

It is more comfortable to modify this color to the following color, click on the box, E, S, L are modified to 160,0,156

Background color, this color E, S, L is more comfortable to modify to 125, 192, 56

Directory color, this color is multiplexed with the color of the vim editor, this color E, S, L is more comfortable to modify to 140, 240, 120

The color of files with executable permissions, such as some executable scripts, this color is multiplexed with the color of the vim editor, and this color does not need to be modified

The color of the compressed package, this color is multiplexed with the color of the vim editor, this color does not need to be modified

Soft link color, this color is multiplexed with the color of the vim editor, this color does not need to be modified

The color of the image file, this color is multiplexed with the color of the vim editor, this color does not need to be modified

After changing the color, click OK

==========================================================================================================================

The color of the CRT has been matched. Now let's match the color of the vim editor. First, take a look at the vim color scheme that comes with the system. The color scheme that comes with the system is in the /usr/share/vim/vim72/colors directory. The version may not be in vim72, but it must be in the vim** directory

Enter cd ~ to enter the user's home directory, type vim ~/.vimrc, and press Enter. Note that the " . " in front of vimrc cannot be omitted.

In vim first press i to enter edit mode, then type colorscheme color scheme name (without .vim extension). For example, colorscheme morning, then press esc to exit edit mode, then type :wq! to save and exit.

Now the color scheme of the vim editor is in effect.

 

Now we apply the vim color scheme to all sessions

3. Options==>Global options==>General==>Default session==>Edit default

Click OK, close secureCRT, and restart.

There is a problem here. It should be noted that the use of color scheme refers to the color scheme used by vim, and the ANSI color refers to the color scheme of secureCRT. Both of these should be checked, so there will be a problem, because the color scheme of vim will affect secureCRT. The color scheme, so every time we create a new session, the effect is like this

This is unavoidable, the solution is as follows, click the session option as shown below

As shown in the figure below, uncheck Use color scheme and click OK

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325473560&siteId=291194637