hop.nvim icon indicating copy to clipboard operation
hop.nvim copied to clipboard

Jumps won't ignore the current cursor position and will create unnecessary label

Open carlos-algms opened this issue 6 months ago • 0 comments

Describe the bug While jumping the current char is also considered and added as a possible target

To Reproduce

Create a simple text with repeating chars, the length doesn't matter:

abca

Position the cursor on top of the first a Execute a jump like: HopChar1 Type a See that 2 labels are created

Expected behavior It should jump automatically to the next occurrence.

Screenshots

https://github.com/user-attachments/assets/5df13004-a788-4473-a615-39a00e7caf86

carlos-algms avatar Aug 21 '24 15:08 carlos-algms