Is there any way to set a limit for EasyMotion?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
I really like easymotion, I've made a remap of leader, leader, 2, f to f (same with F), so it's much better to use that way. The problem is that my screen has 51 lines, and Easymotion takes 100 lines no matter what, and I would like to find a way to lower it to 50
For a better use of "Insearch, Easymotion & Skeak" together:
- / & ? = SEARCH whole file
- f & F = GO to word within the range of the screen (e.g. 50)
- s & S = GO to the nearest word
Solution
I think that adding a limit like. vim.easymotion.linesSearch: 50 on the settings.json, that is gonna look just in a range of 50 or other number of specific lines, e.g:
f = 50 lines forward, F = 50 lines backward
I don't think is that hard to implement, actually I'm not talking about words, is just the lines that is looking for, we don't have a lighspeed motion, but this one can be improved
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
No files or tests are named. Start by locating the EasyMotion implementation and the extension's settings handling, then trace how line ranges are selected for f and F. Done means a configurable line limit is documented and covered by tests for forward and backward searches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100