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

"Smart" case-sensitivity during search #320

Closed
Lenbok opened this issue Aug 18, 2014 · 4 comments
Closed

"Smart" case-sensitivity during search #320

Lenbok opened this issue Aug 18, 2014 · 4 comments

Comments

@Lenbok
Copy link

Lenbok commented Aug 18, 2014

It would be very nice if we could specify an option so that searching is always done case-insensitive.

Even better would be an auto option that is case-insensitive if the search expression is all lowercase, and case-sensitive otherwise (this is how my emacs works)

@Lenbok
Copy link
Author

Lenbok commented Aug 18, 2014

The auto method also seems to be how less -i works :-)

@Lenbok Lenbok changed the title Please allow case-insensitive search "Smart" case-insensitive search Aug 18, 2014
@Lenbok Lenbok changed the title "Smart" case-insensitive search "Smart" case-sensitivity during search Aug 18, 2014
@Lenbok
Copy link
Author

Lenbok commented Aug 18, 2014

Aha, I had searched the user manual and found nothing, but have now found there is a config option for case-insensitive searching. It would be nice to have the "auto" method though, so I'll leave this issue open.

@jonas
Copy link
Owner

jonas commented Aug 20, 2014

Yes, I like the idea of smart case-sensitive search.

@edi9999
Copy link
Contributor

edi9999 commented Apr 23, 2015

I'd also like to have a smartcase option, but the case-insensitive is already good !

hluk added a commit to hluk/tig that referenced this issue Mar 22, 2017
hluk added a commit to hluk/tig that referenced this issue Mar 22, 2017
hluk added a commit to hluk/tig that referenced this issue Mar 22, 2017
This is simple solution which checks only uppercase ASCII letters.

Fixes jonas#320
hluk added a commit to hluk/tig that referenced this issue Mar 22, 2017
New option enables case-insensitive search only if current search
expression doesn't contain any uppercase letters.

This is simple solution which checks only uppercase ASCII letters.

Fixes jonas#320
jonas added a commit that referenced this issue May 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants