Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

swap fg/bg colours #3

Closed
teschmitz opened this Issue · 7 comments

2 participants

@teschmitz

What do you think of an option for swapping foreground and background colour?

It might make sense for a CSS file to visualize colours which are intended as foreground colours.

@chrisbra
Owner
@teschmitz

Hallo Christian,
I think a command would be preferable so one can easily toggle between the highlight being foreground or background colour.

Regards,
Tarlika Elisabeth

@chrisbra chrisbra referenced this issue from a commit
@chrisbra New Command SwitchFGBG #3 03c327c
@chrisbra chrisbra referenced this issue from a commit
@chrisbra Switch fg/bg colors #3 7e28c09
@chrisbra
Owner
@teschmitz

This is way cool!

I noticed when you swap and the highlight colour becomes the fg colour, the background is set to the colour scheme's bg rather than just swapping fg/bg.

I had originally envisaged this feature as follows:

example "red"
default setting -> white text against red colour block
swap -> red text against white box

The question is what makes more sense? Obviously, we can't visualize fg/bg combinations.
Does it make sense to display the highlight colour against the vim colour scheme bg?

There are many ways to skin a cat! Either way, it's a great tool!

Regards,
Tarlika

@chrisbra
Owner
@teschmitz
@chrisbra
Owner

Ok, try current head.

@chrisbra chrisbra closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.