thinca / vim-visualstar

star for Visual-mode.
119 stars 5 forks source link

Weird behaviour with g:visualstar_extra_commands='gn' #7

Open kocakosm opened 8 years ago

kocakosm commented 8 years ago

I have a very strange behaviour with g:visualstar_extra_commands='gn' (selects the current match). It's quite difficult to describe, so let me explain how to reproduce it instead.... First, enter the following text in Vim: test test test test test test test test test test test test test test test test Position the cursor on the first character of the first line and type 'wvee' in normal mode. Now, hit successively '*'... It behaves exactly as expected until it reaches the fourth line: the search gets stuck there. I have tested this in Vim 7.4.576 (on Debian Jessie) and in Vim 8.0.3 (on Debian Stretch).

kocakosm commented 8 years ago

After some investigation, this may be related to a Vim bug. See https://groups.google.com/forum/#!topic/vim_use/ryCHT9Y-ih0 for more information.