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

ivy-yank-word should respect case folding #2194

Closed
raundn opened this issue Aug 9, 2019 · 2 comments
Closed

ivy-yank-word should respect case folding #2194

raundn opened this issue Aug 9, 2019 · 2 comments

Comments

@raundn
Copy link

@raundn raundn commented Aug 9, 2019

Hey!

I've noticed the following annoyance when using C-s M-j: it doesn't respect case folding.

In general, swiper does work with case folding: searching for "firstname" finds both "firstname" and "FirstName", while searching for "FirstName" only finds "FirstName".

Thus, if I place the point at the beginning of text "FirstName", type 'C-s f' (to start searching for 'f') and then press M-j, I expect to yank "irstname", not "irstName" (which is what happens).

As it is now, pressing 'C-s f M-j' results in searching for "firstName", which finds neither "firstname" nor "FirstName".

And yes, C-s C-w (i.e. isearch-yank-word-or-char) does respect case folding.

@abo-abo
Copy link
Owner

@abo-abo abo-abo commented Aug 21, 2019

Thanks, please test.

@raundn
Copy link
Author

@raundn raundn commented Aug 26, 2019

Works great, thanks!

astoff pushed a commit to astoff/swiper that referenced this issue Jan 1, 2021
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

No branches or pull requests

2 participants