LightTable / Vim

Vim keybindings for Light Table
MIT License
119 stars 22 forks source link

The search should continue on the line after cursor #14

Open can3p opened 10 years ago

can3p commented 10 years ago

Currently search function doesn't behave in the vim mode like it does in the vim itself.

  1. Search for any text on the current buffer, which occurs on multiple lines.
  2. Move cursor after the current selection so that it will also skip search result.
  3. Press n

The search will move cursor back to the skipped result.

The vim behavior: there is no currently highlighted found text in vim. If you move the cursor down, the search will continue to show results after current cursor position.

cldwalker commented 10 years ago

Confirmed it's a bug in LT on osx but not one in the demo. I'm surprised this is a bug given the find.next implementation just pipes to CM when the bug occurs. Perhaps LT is messing with correct cursor position? I'll have to dig in later to confirm @ibdknox Any ideas?