Skip to content

Set cell color based on function or expression #975

@gutswright

Description

@gutswright

The colors of the cells can be set like so within the scimrc:

color "type=NUMB fg=GREEN bg=DEFAULT_COLOR bold=1 dim=0"
color "type=CELL_NEGATIVE fg=RED bg=DEFAULT_COLOR bold=1 dim=0"

It would be great if there was a way to apply a different color based on a function. For example given the color settings above, all non-negative numbers are green and all negative numbers are red. If there were a way to set the fg color to "WHITE" when the cell value is zero that would be cool. Or If there were an expression that would apply a highlight to the highest value in a column or row, or even the highest 10 values would have red highlight gradient, where the brightest red would represent the highest value in the column.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions