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

Flickering when starting new search with / #60

Closed
balta2ar opened this issue Jan 20, 2015 · 6 comments
Closed

Flickering when starting new search with / #60

balta2ar opened this issue Jan 20, 2015 · 6 comments

Comments

@balta2ar
Copy link

When I start new search (map / <Plug>(incsearch-forward)), current highlighting is cleared immediately and screen flickers as if <C-l> has been pressed. I'm using vim -g (no problems in console version though).
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Dec 1 2014 12:50:52)
Included patches: 1-540

In .vimrc I have set novisualbell and set lazyredraw but they don't visually change anything.

Also, highlighting is cleared as soon as I type /. Is it possible to clear it only after I entered at least one symbol?

@haya14busa
Copy link
Owner

When I start new search (map / (incsearch-forward)), current highlighting is cleared immediately and screen flickers as if has been pressed. I'm using vim -g (no problems in console version though).

Thanks for the report. it's related with this library issue #107. (taked in Japanese but the issue is same.)

Also, highlighting is cleared as soon as I type /. Is it possible to clear it only after I entered at least one symbol?

It's possible. I'll consider to change the behavior, thanks 👍

@haya14busa
Copy link
Owner

I fixed it. Please update incsearch.vim. 🎉

@balta2ar
Copy link
Author

Yay! It's smooth now! Thank you very much, @haya14busa!

@balta2ar
Copy link
Author

Also, highlighting is cleared as soon as I type /. Is it possible to clear it only after I entered at least one symbol?

It's possible. I'll consider to change the behavior, thanks 👍

What are your thoughts on this part?

@balta2ar
Copy link
Author

More generally, highlighting is turned off if I press Esc, which is confusing. If I canceled my search, I'd like my previous highlighting to be restored.

@haya14busa
Copy link
Owner

Sorry I forget highlighting related issue. I create new issue #74

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