feature: easymotion support one line match
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Is your feature request related to a problem? Please describe.
When I use easymotion's l or h function for jumping, it matches a lot of jump points.
This sometimes causes the view to become stuck. And generally I only use these 2 functions for single line movement

Describe the solution you'd like
So I would like to have these two function jumps to support matching only one line
Similar to this feature in easymotion

Describe alternatives you've considered
I have two ways to implement this feature
One way is: we can add two shortcuts to trigger matching only one row, for example o l and o h
The other way is: to modify the behavior of l and h by means of configuration, for example, by having a field called easymotionJumpToOneLine: true.
Additional context
I've actually tried to implement all of the two mentioned above in my code, I'd like to hear your suggestions on which way you think would be better, if you don't have time I'd be happy to submit a pr and finally thank you for your excellent work I really like this plugin @J-Fields
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by locating the existing easymotion bindings for l and h, then compare the proposed shortcuts with the configuration approach. Done means those jumps can restrict matches to a single line without breaking their current behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100