-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Improve highlight handling #74
Comments
Just to make sure we're on the same page, |
Thanks for clarifying |
I fixed it for restoring highlight in https://github.com/haya14busa/incsearch.vim/tree/dev branch and write a test case for this. Could you please trying this branch? |
For the timing of clearing highlight, I'm already confortable with the current feature which turns off old highlight at starting incsearch.vim, so I doublt that clearing highlight only after entring at least one symbol is really useful. Could you please giving me a situation or your some thought on this? Why is it useful to wait to clear highlight for entering characters? |
Thank you very much, @haya14busa! Highlighting restores fine! As for the second part of my request, I don't think I can provide strong argument for that. It is something of my personal habits or perception, probably. Sometimes I press I can draw an analogy with Firefox. When you search for something and highlight it, it stays highlighted on the page. When you press Let's speculate from the other side of the problem: what's the reason to clear highlighting as soon as |
Thanks! I merged this fix into master now.
I guess it's fair argument on this but it seems Chrome's search box feature is different from Firefox and do not highlight previous pattern.
Hmm... I also don't have strong reason for this. I just feel weird for not clearning highlight and it's simple and clean to implement this feature. |
Okay, it looks like there aren't many strong arguments to any of the sides and considering it's easier to keep it as it is, let's leave it like that. Feel free to close the issue and thank you for your work! |
Ok, I close this issue until someone will request the same feature or I change my mind. Thanks @balta2ar 🎉 |
from #60 by @balta2ar
<Esc>
The text was updated successfully, but these errors were encountered: