swap fg/bg colours #3

Closed
teschmitz opened this Issue Mar 18, 2012 · 7 comments

Projects

None yet

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 added a commit that referenced this issue Mar 19, 2012
@chrisbra New Command SwitchFGBG #3 03c327c
@chrisbra chrisbra added a commit that referenced this issue Mar 19, 2012
@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 Apr 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment