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

ignorecase and smartcase #36

Open
cngu opened this issue Nov 27, 2018 · 0 comments
Open

ignorecase and smartcase #36

cngu opened this issue Nov 27, 2018 · 0 comments

Comments

@cngu
Copy link

cngu commented Nov 27, 2018

Hi!

In my .vimrc, I have:
set ignorecase smartcase

This allows me to search via / ignoring case, but then switch to smart-case as soon as I type a capital.

However, this causes an undesired behavior in vim-ripgrep where the quickfix list contains all matches ignoring case, even if my search query contained a capital letter. g:rg_highlight only highlights the case-sensitive matches, which is great, but I'd also expect all the other incorrect-case-matches to be filtered out to make :cn and :cp easier.

I believe this was introduced in #5, although I'm not sure if this is by-design. But regardless, I'd greatly appreciate any tips to achieve my expected behavior!

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

1 participant