Skip to content

Is there any way to set a limit for EasyMotion? #8783

@darianmorat

Description

@darianmorat

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions