Skip to content

Add a new color group for selections within highlighted search results - #3827

Open
masmu wants to merge 1 commit into
micro-editor:masterfrom
masmu:feature/hlsearch-selection-colorscheme-group
Open

masmu wants to merge 1 commit into
micro-editor:masterfrom
masmu:feature/hlsearch-selection-colorscheme-group

Conversation

@masmu

@masmu masmu commented Aug 7, 2025 •

Copy link
Copy Markdown
Contributor

micro allows to set the color for selections and for search results. However, if your color scheme defines a color for selections that is very similar to your general background color, and you perform a search, the currently selected text will hardly stand out.

hlsearch-selection The red arrow indicates the currently selected text.

Since this cannot be done with plugins, it would be great if we can add a new color-group analogous to statusline, statusline.inactive, statusline.suggestions.

micro allows setting colors for selections and for search
results. If a colorscheme defines a selection color that is
very similar to the hlsearch highlight color, the currently
selected text will hardly stand out during a highlighted
search.

So add a new color-group analogous to `statusline`,
`statusline.inactive`, `statusline.suggestions`.
@masmu
masmu force-pushed the feature/hlsearch-selection-colorscheme-group branch from bd654df to 8973a3c Compare November 6, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant