Vim icon indicating copy to clipboard operation
Vim copied to clipboard

Star search doesn't update editor search state

Open can3p opened this issue 12 years ago • 2 comments

How to reproduce.

  1. Search something with / command. All matching words will be highlighted
  2. Move cursor on any word and press * or # in normal mode. This word will be highlighted by previously highlighted words won't lose their state.
  3. Press n/N. The search will continue to jump on the results found on the step 1

The correct behavior would be to update search to the word selected in the step 2 and to drop the search from the first step.

can3p avatar Jan 15 '14 21:01 can3p

I am also experiencing this bug. (Vim plugin v0.0.5)

I do not experience the bug on the code mirror vim binding demo page

jminardi avatar Sep 29 '14 05:09 jminardi

Can confirm this is a bug in osx. It looks like we'll need to override *, # and other search keys to be aware of LT's find state and clear it with :find.clear command before proceeding with new search.

cldwalker avatar Oct 16 '14 02:10 cldwalker