2017-04-15 10 views
0

のWindows 7は、Emacs 25.1、ヘルムパッケージEmacs:コマンド "helm-grep-do-git-grep"の色の変更方法は?

マイ舵-のgrep-DO-のgit-grepのコマンドのスクリーンショット:私は別のものにマッチテキストの色(暗赤色)を変更したい enter image description here

(例えば緑)。

私はhelm-grep-faceで見つけようとしていますが、見つかりませんでした。 enter image description here

どのようにこの顔の色を変更できますか?あなたは、次のいずれかを探している

答えて

0

解決策が見つかりました。私は "d:\ Programs \ emacs \ .gitconfig"に変更します。

追加セクション:

[color "grep"] 
    match = black yellow 

そして今は、テキストの色を一致させるには、私は2つの亜種を試し

0

使用している内容に応じて、:したがって

(defface helm-git-grep-match 
    '((default (:inherit helm-match))) 
    "Face used to highlight git-grep(1) matches." 
:group 'helm-git-grep-faces) 

または

(defface helm-grep-match 
    '((((background light)) :foreground "#b00000") 
    (((background dark)) :foreground "gold1")) 
    "Face used to highlight grep matches." 
    :group 'helm-grep-faces) 

、あなたはM-xcustomize-groupを呼び出すことによって、色を変更できるようになりますhelm-grep-faces(またはhelm-git-grep-faces)。

+0

黄色のフォアグラウンドカラー=ブラック、bakground色=持っているが、それは助けません。コマンド "helm-grep-do-git-grep"(マスキングテキストカラー)の変更前景が必要です – Alexei

+0

これは 'helm-match'を継承しています。あなたもそれを変更しようとしましたか? – dangom

+0

"ヘルムマッチフェイス"と "ヘルムマッチアイテム"を変更しましたが、助けにはなりません – Alexei

関連する問題