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

enabling auto_nohlsearch is conflicting with terryma/vim-multiple-cursors #127

Open xu-cheng opened 7 years ago

xu-cheng commented 7 years ago

I found that if I enable auto_nohlsearch, I will have some difficulty to use terryma/vim-multiple-cursors plugin.

Steps to reproduce the problem:

In normal case, all of foo should be selected. However, what I get in the buffer is:

incsearch-nohlsearch)ncsearch-nohlsearch)foo foo foo

Noted that disable auto_nohlsearch, the bug will be gone.

May I ask any suggestion to solve this issue? Thanks.

haya14busa commented 7 years ago

Can you try following mapping?

inoremap <silent> <Plug>(_incsearch-nohlsearch) <Nop>
xu-cheng commented 7 years ago

Thanks. However, it doesn't seem to work for me.

haya14busa commented 7 years ago

Hmm.. I'm not familiar with vim-multiple-cursors, and incsearch.vim for normal vim. Maybe there are some hacks in vim-multiple-cursors.

xu-cheng commented 7 years ago

Thanks anyway. I think this is a low priority bug as I can stand it for now.