You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I turn off case-folding in counsel-*g functions, it still gives treats the query term as case folded. Turning off case-folding is necessary when you want to do case-sensitive query on is all lower case term.
The text was updated successfully, but these errors were encountered:
Functions such as counsel-ag and counsel-rg delegate the search logic to their corresponding tools ag and rg. You can customise the corresponding command either statically via counsel-ag-base-command, counsel-rg-base-command, etc., or dynamically by interactively specifying flags such as --case-sensitive (see #1408 and #1559).
Thanks for the response. Dynamically changing the base-command was I was thinking as well. I however, wanted to bring it here, because as a user I felt like the behavior of turning on/off case-folding should work same out-of-box across the commands provided by this package. It was a bit confusing when it worked for swiper but not for counsel-rg.
I understand however, it brings other problems since the command used by ag/rg is in general configurable and if user changes it, it may break this anyway. In that case, I would be happy to create a wiki to document whatever hack I do to get it working.