Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize the color #27

Closed
ema2159 opened this issue Feb 12, 2019 · 2 comments
Closed

Customize the color #27

ema2159 opened this issue Feb 12, 2019 · 2 comments
Labels

Comments

@ema2159
Copy link

ema2159 commented Feb 12, 2019

How can I customize the color of the selected areas? I couldn't find any documentation about

@hlissner
Copy link
Owner

evil-multiedit regions are iedit regions, and the iedit package uses the iedit-occurrence face to color iedit regions. This face is defined in iedit-lib.el as such:

(defface iedit-occurrence
  '((t :inherit highlight))
  "*Face used for the occurrences' default values."
  :group 'iedit)

So you'll need to modify this face to modify the color of multiedit regions. e.g.

(set-face-background 'iedit-occurrence "#FF0000")

Hope that helps!

@ema2159
Copy link
Author

ema2159 commented Feb 26, 2019

Sorry for not answering, I've been a little busy. That's indeed the solution, and even the foreground can be set using (set-face-foreground 'iedit-occurrence "#000000"). However it has to be after loading the theme!
Thanks! You're pretty awesome. Thanks for taking the time to make Emacs even greater.

@ema2159 ema2159 closed this as completed Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants