Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
4 of 6 tasks
christianparpart opened this issue Jun 21, 2024 · 0 comments · Fixed by #1547
Closed
4 of 6 tasks
Labels
enhancement New feature or request vi-mode Vi/Vim movement and operation mode

Comments

@christianparpart
Copy link
Member

christianparpart commented Jun 21, 2024

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

  • override for insert mode
  • override for normal mode
  • override for visual mode (any visual mode)
  • override for visual line mode
  • override for visual block mode
  • documentation added
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request vi-mode Vi/Vim movement and operation mode
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant