Closed foonathan closed 2 years ago
Aw man, I had originally had v:count1
for 2.5.14 but then changed it to v:count
because I forgot to test when on the target character or when a duplicate target character is before the cursor.
Anyway, thanks for the pull request!
Since 9fb216a843db241e1caf0661e29d3df156d09af6, f/F were broken when you are trying to jump to the same letter your cursor is already under: instead of jumping to the next occurrence, it did nothing instead (NVIM v0.6.1).
I believe this is because
v:count
expands to zero if no count has been giving. Usingv:count1
instead fixes the issue for me, as that expands to1
.