unblevable / quick-scope

Lightning fast left-right movement in Vim
MIT License
1.42k stars 54 forks source link

cannot use f and t in macro #56

Closed againxx closed 4 years ago

againxx commented 4 years ago

This plugin seems to break f and t in macro, when I recorded f in macro and replayed it, the cursor didn't goto the expected position.

I observed the same issue in vim-sneak (label mode), but it's ok in normal vim-sneak mode.

Any suggestions? Thank you!

bradford-smith94 commented 4 years ago

Could you provide a minimal working example of the issue you're seeing? I haven't noticed any problems using f/F/t/T in macros.

againxx commented 4 years ago

I'm sorry, after investigation, I found that the problem comes from the modification proposed by https://github.com/unblevable/quick-scope/issues/55#issuecomment-629721429. After I removed this patch, f and t now work fine in macro. Maybe I should make the further check why resetting of sneak breaks the macro.