如何设置 vterm 的 face,我这浪费了一个晚上

看样子是继承了term-color-black的颜色。

方法一:

把 inherit 去掉:

(set-face-attribute 'vterm-color-black nil
		    :inherit 'unspecified
		    :background "black")

(custom-set-faces '(vterm-color-black ((t (:inherit unspecified :background "black")))))

方法二:

把上述 vterm 的 v 去掉,即直接对 term-color-black 动手。