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

Selection is barely visible #269

Open
cubranic opened this issue Feb 27, 2017 · 6 comments
Open

Selection is barely visible #269

cubranic opened this issue Feb 27, 2017 · 6 comments

Comments

@cubranic
Copy link

In spacemacs master with zenburn theme, the selection is indicated by just a shade darker background. (screenshot attached) This makes it difficult to see, and I often find myself searching for it. I understand that you don't want to use a reverse highlight for this as being too bright, but have you considered giving it a bit of a colour hue to make it easier to find on the screen?

screen shot 2017-02-27 at 6 38 56 am

@lawreenas
Copy link

+1
I also have trouble seeing selection, especially when using expand-region.

@bbatsov
Copy link
Owner

bbatsov commented Mar 6, 2017

I guess we should make it configurable, as I'm pretty happy with the current colours (I like subtle selection highlighting), but I know some people are unhappy with it.

I'd accept some defcustom that controls this.

@cubranic
Copy link
Author

cubranic commented Mar 6, 2017

For reference, the original (Vim) Zenburn uses the following colours for visual selection (src):

Style contrast Fg Bg
new default ?? #2f2f2f
new high ?? #0f0f0f
old default #233323 #71d3b4
old alternate #000000 #71d3b4

@bbatsov
Copy link
Owner

bbatsov commented Mar 7, 2017

Well, the colours it uses are not that important I guess - the important take-away is that it has several versions. I'm fine with adopting a similar approach, but I have 0 time to work on this myself.

@ofenerci
Copy link

How could I make a more visible? What changes do I need to make it in my .emacs file.

@krotonic
Copy link

You can add region to custom-theme-set-faces in order to change the selection fg & bg color.

(zenburn-with-color-variables  
  (custom-theme-set-faces  
    'zenburn  
    `(region ((t (:foreground ,zenburn-fg :background ,zenburn-bg))))))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants