Skip to content

Add search function within patch viewer#2

Open
roseoriorden wants to merge 3 commits into
igsilya:mainfrom
roseoriorden:main
Open

Add search function within patch viewer#2
roseoriorden wants to merge 3 commits into
igsilya:mainfrom
roseoriorden:main

Conversation

@roseoriorden

@roseoriorden roseoriorden commented Jul 15, 2026

Copy link
Copy Markdown

Add a vim-like expression search /
Supports regex like vim and has the same n/N controls

Assisted-by: Claude Sonnet 4.5, Claude Code

Allows search within patch files just like vim's search function (i.e.
supports regex, same n/N controls, etc).

Colors of the matches differ between dark and light mode.

Assisted-by: Claude Sonnet 4.5, Claude Code
Signed-off-by: Rosemarie O'Riorden <rosemarie@redhat.com>
/<up_arrow>/<down_arrow> search history just like in vim's search. Does
not persist across sessions.

Assisted-by: Claude Sonnet 4.5, Claude Code
Signed-off-by: Rosemarie O'Riorden <rosemarie@redhat.com>
Before this commit, esc and q had the same function inside the patch
viewer during a search, which is that they would both exit from the
search, and then with a second press they'd exit from the patch viewer
and go back to the list of patches.

With this commit, esc exits from the patch viewer even mid-search, and q
exits from the serach upon the first press, and exits from the patch
viewer upon the second press. However, if nothing was found in a search,
q will exit from the patch viewer immediately as if an active search was
not ongoing.

Assisted-by: Claude Sonnet 4.5, Claude Code
Signed-off-by: Rosemarie O'Riorden <rosemarie@redhat.com>
@roseoriorden

Copy link
Copy Markdown
Author

I am also working to add a search filter to the patch list view.

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