XTerm调色板

时间:2016-10-29 21:07:25

标签: vim xterm

我正在尝试从gnome-terminal切换到xterm(速度更快),但无法将调色板更改为曝光。我发现我需要在~/.Xresources中粘贴所有设置,然后运行xrdb -merge ~/.Xresources。我在配置Xterm*color0: #073642中有以下内容,但在vim中,颜色为黑色as you can see。整个文件:

! xterm*font: *-fixed-*-*-*-14-*
XTerm*termName: xterm-256color
XTerm*loginShell: true
XTerm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48
XTerm*faceName: Ubuntu Mono
XTerm*faceSize: 12
XTerm*foreground: #EBEBEB
XTerm*background: #002B36
! urxvt.color0: #073642
! Xterm*color0: #073642
! Xterm*color15: #073642

#define S_base03        #002b36
#define S_base02        #073642
#define S_base01        #586e75
#define S_base00        #657b83
#define S_base0         #839496
#define S_base1         #93a1a1
#define S_base2         #eee8d5
#define S_base3         #fdf6e3

! XTerm*background:            S_base03
! XTerm*foreground:            S_base0
Xterm*fadeColor:             S_base03
Xterm*cursorColor:           S_base1
Xterm*pointerColorBackground:S_base01
Xterm*pointerColorForeground:S_base1

#define S_yellow        #b58900
#define S_orange        #cb4b16
#define S_red           #dc322f
#define S_magenta       #d33682
#define S_violet        #6c71c4
#define S_blue          #268bd2
#define S_cyan          #2aa198
#define S_green         #859900

!! black dark/light
Xterm*color0:                S_base02
Xterm*color8:                S_base03

!! red dark/light
Xterm*color1:                S_red
Xterm*color9:                S_orange

!! green dark/light
Xterm*color2:                S_green
Xterm*color10:               S_base01

!! yellow dark/light
Xterm*color3:                S_yellow
Xterm*color11:               S_base00

!! blue dark/light
Xterm*color4:                S_blue
Xterm*color12:               S_base0

!! magenta dark/light
Xterm*color5:                S_magenta
Xterm*color13:               S_violet

!! cyan dark/light
Xterm*color6:                S_cyan
Xterm*color14:               S_base1

!! white dark/light
Xterm*color7:                S_base2
Xterm*color15:               S_base3

0 个答案:

没有答案