haya14busa / incsearch.vim

:flashlight: Improved incremental searching for Vim
https://medium.com/@haya14busa/incsearch-vim-is-dead-long-live-incsearch-2b7070d55250
MIT License
1.11k stars 23 forks source link

vim glitches a lot when using incsearch on a large file #153

Open preslavmihaylov opened 6 years ago

preslavmihaylov commented 6 years ago

When I am trying to find something in a large file (450k lines), the whole editor glitches.

Especially when there is no match on my search term. This does not happen if I use normal vim search without the plugin.

roosemberth commented 4 years ago

I'm having the same issue. Maybe we could add a shortcut to disable the plugin after invoking it. For example, when typing /^Hstring-in-large-file in normal mode incsearch would proxy the search to the default vim mechanism.

Edit: ^H here is meant to represent the Ctrl-backspace control sequence.