Skip to content

Add config option for case-insensitive search#628

Open
codegax wants to merge 4 commits into
ulyssa:mainfrom
codegax:case-insensitive-search
Open

Add config option for case-insensitive search#628
codegax wants to merge 4 commits into
ulyssa:mainfrom
codegax:case-insensitive-search

Conversation

@codegax

@codegax codegax commented Jun 28, 2026

Copy link
Copy Markdown

Adds a case_insensitive_search setting (default off) so searching rooms, DMs, spaces, members, and message scrollback ignores case without needing a (?i) prefix.

@VAWVAW

VAWVAW commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

In my opinion it would be more consistent to use the vim naming of igorecase for the config option.

And I believe it makes more sense to implement most of this functionality in upstream modalkit-ratatui by adding something like set_ignorecase() to ListState.

@codegax

codegax commented Jul 1, 2026

Copy link
Copy Markdown
Author

Yeah, good points. Renamed it to ignorecase so it matches Vim.

I'll put together a PR on modalkit-ratatui to add ignorecase to ListState, then switch this over to use it. Only catch is the scrollback search (the / one inside a room) builds its regex in iamb rather than modalkit, so I'll probably still need a little something here for that bit.

@VAWVAW

VAWVAW commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

In case you want to keep contributing, I want to warn you that this is a really slow moving project and that it can take a few months until changes are merged.

I'll also point you to the matrix channels #iamb-users:0x.badd.cafe and #iamb-dev:0x.badd.cafe and my fork where I merge most all recent PRs together.

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.

2 participants