helm-ag
helm-ag copied to clipboard
modifying the faces of outputs
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!
;; 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")

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.