contour-terminal / contour

Modern C++ Terminal Emulator
http://contour-terminal.org/
Apache License 2.0
2.3k stars 100 forks source link

Add customizable per-input-mode default text/background coloring for indicator statusline #1528

Closed christianparpart closed 1 day ago

christianparpart commented 1 week ago

We can currently only configure the default text/background color for the indicator statusline (active window and inactive window).

The goal is to make the color adapting based on input mode.

Possible configuration could look like:

profiles:
    your_profile_name:
        indicator_statusline:
            # default foreground/background for any non-override specified status line.
            foreground: '#808080'
            background: '#000000'
            # specific colors for the different modes
            overrides:
                # override default colors for e.g. insert_mode
                # possible also: normal_mode, visual_mode(any visual),
                #         visual_block_mode, visual_line_mode, search_mode(?)
                insert_mode:
                    foreground: '#123456'
                    background: '#abcdef'

Checklist