Skip to content

feat: add filter_keyword style to header indicator - #4087

Open
Yahddyyp wants to merge 3 commits into
sxyazi:mainfrom
Yahddyyp:filter-indicator-color
Open

feat: add filter_keyword style to header indicator#4087
Yahddyyp wants to merge 3 commits into
sxyazi:mainfrom
Yahddyyp:filter-indicator-color

Conversation

@Yahddyyp

@Yahddyyp Yahddyyp commented Jun 26, 2026

Copy link
Copy Markdown

Which issue does this PR resolve?

Resolves #3732

Rationale of this PR

12193

This makes the filter and find text string (find: x, filter: x ) in the header.lua to have colour, both find and filter header will be coloured by this, defaults to red, bold can be changed in theme.toml by

[mgr]
filter_keyword = { fg = "red", bold = true } 

Checklist

Comment thread yazi-config/src/theme/theme.rs
@sxyazi
sxyazi force-pushed the main branch 2 times, most recently from e4b1ca6 to b8ceaea Compare July 1, 2026 20:09
defaults to red, bold; can be changed by setting filter_keyword = { fg = "red", bold = true } in the [mgr] section
@Yahddyyp
Yahddyyp force-pushed the filter-indicator-color branch from 61a2817 to 3aaf64e Compare July 3, 2026 15:37
@Yahddyyp

Copy link
Copy Markdown
Author

@sxyazi the formatting is done, if you have some time check it please

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.

Apply bright colors to filter indicator if applied

2 participants