hop.nvim
hop.nvim copied to clipboard
Jumps won't ignore the current cursor position and will create unnecessary label
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