Closed teschmitz closed 12 years ago
Hi teschmitz!
On Sa, 17 Mär 2012, teschmitz wrote:
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.
What you rather an option or a command?
regards, Christian
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
Hi teschmitz!
On So, 18 Mär 2012, teschmitz wrote:
Hallo Christian, I think a command would be preferable so one can easily toggle between the highlight being foreground or background colour.
Hello Tarlika, please try current head. It provides the :ColorSwapFgBg command.
regards,
Wie man sein Kind nicht nennen sollte: Peer Sonal
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
On Tue, March 20, 2012 21:57, teschmitz wrote:
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
Yes, that was how I first implemented it. But I found the white bg color too disturbing and so I changed it to simply use the foreground color and not mess with the background.
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?
I think so. Well I could introduce yet another variable, that controls this behaviour. Do we want this?
There are many ways to skin a cat! Either way, it's a great tool!
regards, Christian
On Tue, 20 Mar 2012 22:54:47 -0700 chrisbra reply@reply.github.com wrote:
I think so. Well I could introduce yet another variable, that controls this behaviour. Do we want this?
For example, I have one CSS file in which I mainly define a whole lot of foreground colours, which are used against a light background. In Vim I use a dark background theme and therefore I can't really judge the suitability of the CSS foreground colour against the Vim background.
So yes, another variable would make sense.
Best Regards, Tarlika Elisabeth Schmitz, Scotland
Ok, try current head.
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.