incsearch.vim icon indicating copy to clipboard operation
incsearch.vim copied to clipboard

incsearch not working properly with nvim

Open Mariappan opened this issue 9 years ago • 12 comments

Hi, I have a mapping in my vimrc map / <Plug>(incsearch-forward)

In Vim the mapping works correctly. But in nvim, I am facing some strange behaviour. When i press /, the search prompt comes with image

When I paste the content from clipboard, it shows like this image

Then I need to press space for the text to be visible, image

But it adds 'i' before the copy pasted string.

Mariappan avatar May 21 '15 13:05 Mariappan

I'm sorry for the late reply. I confirm the strange behavior in nvim.

But, I'm not familiar with neovim and I guess this must be breaking change by neovim, so I cannot fix it easily.

haya14busa avatar Jun 07 '15 14:06 haya14busa

FYI, I'm having the same issue with one of my plugins. This is due to the absence of t_ve in neovim which we both use to hide the original cursor.

https://github.com/neovim/neovim/commit/3baba1e7bc6698e6bc9f1d37fce88b30d6274bc9

junegunn avatar Nov 15 '15 03:11 junegunn

I have created bugreport on neovim issue tracker. Seems like it will be fixed someday. If we are lucky -- until 0.2 milestone.

amerlyq avatar Nov 17 '15 12:11 amerlyq

Thank you the info @junegunn and thank you for the report @amerlyq. cc: @zchee

I talked this bug today and revisit neovim to investigate this issue. I also noticed that t_ve is absent. (sorry @Mariappan, if I should take a look at this issue carefully before, I must find what is the problem at least)

haya14busa avatar Nov 21 '15 14:11 haya14busa

This is working correctly for me in nvim now @haya14busa NVIM v0.1.6-262-g978c1fd -- Build type: Release

davidosomething avatar Oct 24 '16 21:10 davidosomething

Thank you for the information! It seems that related issues in neovim aren't closed https://github.com/neovim/neovim/issues/3688 but anyway, i'll try it later in neovim.

haya14busa avatar Oct 24 '16 21:10 haya14busa

oops nevermind, still see double sorry

davidosomething avatar Oct 24 '16 21:10 davidosomething

np

haya14busa avatar Oct 24 '16 21:10 haya14busa

It's still broken for me in 0.2.0.

ghost avatar May 22 '17 06:05 ghost

There was progress in configuring the cursor in 0.2.0 but hiding it isn't doable yet. It's being actively developed, though, in neovim/neovim#6566.

frangio avatar May 22 '17 23:05 frangio

The following setting will highlight the matched pattern when typing.

if has('nvim')
  set inccommand=nosplit
endif

znculee avatar May 27 '19 09:05 znculee

@haya14busa The corresponding neovim issue #3688 has been closed since January and the new functionality to hide the cursor (hi Cursor blend=100) is available in the freshly released 0.5.0-dev build. See the end of the issue for the resolution summary. I'd highly appreciate if you looked into it once more to adopt the fix for your plugins.

oddlama avatar Dec 11 '20 11:12 oddlama