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

FR: change the appearance of non current windows (in split view) #21

Closed
VKondakoff opened this issue Dec 10, 2021 · 6 comments
Closed

Comments

@VKondakoff
Copy link

Hi!

Currently the only way to distinguish between current and non current window in split view is setting a special color to a statusline when it's window is non current.

Снимок экрана 2021-12-10 в 14 18 28

As far as I see there are other ways to do this. What about adding an options:

  1. Use alt background color when window is non current (dim the color a little)
  2. Disable the cursor line highlighting when window is non current

Any other ideas?

I'm pretty sure this may be a great QoL enhancement. What do you think?

@rmehri01
Copy link
Owner

Hi, I think this is a good config option to have! I've been trying out the alternate background color, and so far it looks like this:

Screen Shot 2021-12-10 at 9 30 43 AM

Unfortunately, I can't seem to find a way to change the SignColumn and CursorLine individually when the window is non current. Do you know of any?

@VKondakoff
Copy link
Author

Hey, this looks quite good. I don't really know a way to change SignColumn and CursorLine when window is non active - this was just a quick idea... But setting the bg to cursor line color seems quite good workaround...

@rmehri01
Copy link
Owner

No problem, yeah I think this could be included for now and I'll see if I can do anything about the SignColumn!

@rmehri01
Copy link
Owner

rmehri01 commented Dec 10, 2021

Oh, I just changed it to none and it worked! Turns out I was overcomplicating things.

Screen Shot 2021-12-10 at 10 09 53 AM

@VKondakoff
Copy link
Author

Ha-ha! 👍

@rmehri01
Copy link
Owner

Thanks again for the suggestion!

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

2 participants