Closed xin-jin closed 5 years ago
I'm also curious about this, is there a way to force case-sensitive search with helm-swoop
?
I managed to get case sensitivity by forcing helm itself to be case-sensitive:
(setq helm-case-fold-search nil)
(setq case-fold-search nil)
is what you need. Note that both lines are needed since setting helm-case-fold-search
to nil simply makes helm follow the behavior of case-fold-search
.
The above will add case sensitivity to all helm searches and emacs' isearch not just helm-swoop.
This works for me because I'm religious about case-sensitive search and I have isearch and evil-search overriden by helm-swoop anyway; it may or may not be what you want, though.
Is this still an issue? It seems to outdated this issue. Please comment if you are still facing this issue. This issue will be closed this September.
How to make the search case sensitive?