helm-ag icon indicating copy to clipboard operation
helm-ag copied to clipboard

modifying the faces of outputs

Open iburunat opened this issue 5 years ago • 2 comments

I am setting

(setq helm-ag-base-command "ag --nocolor --nogroup --colors=match:fg:magenta --colors=line:bg:yellow)

in order to change the faces of the outputs so I can spot better the found query. I don't seem to be able to manage with the above specifications. They seem to be overriden by the default ones. Thanks in advance!

iburunat avatar May 22 '20 13:05 iburunat

;; for file name
(set-face-attribute 'helm-moccur-buffer nil
		    :foreground "pink")

;; for line
(set-face-attribute 'helm-grep-lineno nil
		    :background "yellow")

;; for matched text
(set-face-attribute 'helm-match nil
		    :foreground "magenta")

Screenshot from 2020-05-22 23-03-54

syohex avatar May 22 '20 14:05 syohex

Thanks! I suppose --colors=match:fg:magenta --colors=line:bg:yellow would only work as a terminal command. I wouldn't have known how to find the face-attributes.

iburunat avatar May 22 '20 18:05 iburunat