Vim icon indicating copy to clipboard operation
Vim copied to clipboard

fixes #8783 add easymotionSearchLines

Open HenryTSZ opened this issue 1 year ago • 4 comments

What this PR does / why we need it:

fixes #8783 add easymotionSearchLines

Which issue(s) this PR fixes

#8783

Special notes for your reviewer:

HenryTSZ avatar Jun 28 '24 09:06 HenryTSZ

Does https://github.com/easymotion/vim-easymotion have an equivalent setting?

J-Fields avatar Jun 30 '24 17:06 J-Fields

And is there any good reason we shouldn't just stop at the screen's edge, rather than make this configurable or hardcoded to 100?

J-Fields avatar Jun 30 '24 17:06 J-Fields

Does https://github.com/easymotion/vim-easymotion have an equivalent setting?

Vim EasyMotion itself does not directly provide a configuration item for setting the number of rows to be crossed during search

HenryTSZ avatar Jul 18 '24 07:07 HenryTSZ

And is there any good reason we shouldn't just stop at the screen's edge, rather than make this configurable or hardcoded to 100?

Firstly, we usually only see the content within the current screen range

Secondly, if using a vertical display, the screen display range may exceed 100 lines

HenryTSZ avatar Jul 18 '24 07:07 HenryTSZ

Secondly, if using a vertical display, the screen display range may exceed 100 lines

Besides the large display, if I have a fold with more than 100 lines, I cannot jump over that fold area with EasyMotion. Being able to change the 100 to something larger will be helpful.

Also, an idea solution would be jumping anywhere within the screen range, and I don't really to need to search within the folded lines.

1 <cursor_here>
2
3...100 <folded_lines>
101
102
103                   <-- cannot jump here

kaiguang avatar Dec 19 '24 07:12 kaiguang