Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving through folds #44

Closed
DevonVille opened this issue Apr 5, 2012 · 6 comments
Closed

Moving through folds #44

DevonVille opened this issue Apr 5, 2012 · 6 comments
Labels

Comments

@DevonVille
Copy link

When lines are folded, and I try to move (specifically using j and k, don't remember if I tried other motions),
easy-motion doesn't recognise the lines, and either allows me to get one line above or below the fold.

Please help;)

@aleprovencio
Copy link

I second this, a fold motion support would be awesome. I suggest something like the leader+n and leader+N mappings.

@haya14busa
Copy link
Member

It's difficult to show label on folded line.

This option is undocument but it enables you to jump to folded line.

let g:EasyMotion_skipfoldedline = 0

@ghost
Copy link

ghost commented Jun 9, 2014

Difficult...? or impossible?

This problem bit me with easymotion enabled everywhere. And the skipfoldedline option does not behave as I expect, sometimes letter 'q' is displayed in the wrong place, and the line that should have 'q' has no letter at all. Quite strange.

Here you can see my easymotion config, I pressed 'j', strangely m is used twice, but that's not as big a problem as the fact that line 17 has no target (would expect q there), and q shows up on line 23 (was expecting w there).

I guess I will disable easymotion for j and k, as relativenumber already achieves the same effect (preview what line to jump to), and works much better with folds.

@ghost
Copy link

ghost commented Jun 9, 2014

Haha, I only just now noticed that easymotion is putting the jump letters on the fold lines, I didn't notice before because they weren't colored properly ;-)

But still the issue with w and q is a problem.

@ghost
Copy link

ghost commented Jun 9, 2014

Ooops nevermind, I just noticed I had q twice in the keys setting. I'll go hang my head in shame now.

@haya14busa
Copy link
Member

they weren't colored properly

Yeah, as far as I know, it's impossible to overwrite highlight on the folded lines, so the targets on the folded line weren't colored properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants