evil-visualstar icon indicating copy to clipboard operation
evil-visualstar copied to clipboard

cannot repeat search

Open SamHasler opened this issue 11 years ago • 3 comments

You cannot press # or * to cycle through all matchs

SamHasler avatar Jan 21 '14 11:01 SamHasler

just had a look at this. seems to be non-standard among different visual star plugins. the one i'm using (https://github.com/thinca/vim-visualstar) doesn't repeat * or #, and hitting * will search forward the current word under the point and clear the previous search.

bling avatar Feb 02 '14 15:02 bling

It would be logical that * and # keep searching the text that was selected when starting the search. IMHO it is rather silly that it only works once and than switches to normal * or # behavior. Is it possible to set the region to the search-result so that * and # would be repeatable?

guivho avatar Jan 07 '15 15:01 guivho

This was fixed in https://github.com/bling/evil-visualstar/commit/3f9bb0e6a169242b76519e0fcd28e2ac9d5352a8 but it's off by default

bobpaul avatar Jun 20 '17 17:06 bobpaul