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

Why navigation using vim mapping works with page scrolling? #158

Open
TDHTTTT opened this issue Aug 24, 2020 · 3 comments
Open

Why navigation using vim mapping works with page scrolling? #158

TDHTTTT opened this issue Aug 24, 2020 · 3 comments

Comments

@TDHTTTT
Copy link

TDHTTTT commented Aug 24, 2020

I know it is probably more of a issue for the particular themes, but I am very curious about how navigation using vim actually works. Why the page will scroll down along with the highlighted block by vim mapping and what prevents the page from doing so.

Btw, one example of a theme that does not scroll nicely with vim mapping is Cosmonaut, and I have opened a related issue there.

@TDHTTTT TDHTTTT changed the title Why navigation using vim mapping doesn't work for some theme? Why navigation using vim mapping works with page scrolling? Aug 24, 2020
@tntmarket
Copy link
Contributor

Are you using a horizontal css theme by any chance?

Unfortunately, Vim mode doesn't work with that right now, but I've been using this patch in the meantime: tntmarket#5

https://www.youtube.com/watch?v=4t9cy_A3-QI

@TDHTTTT
Copy link
Author

TDHTTTT commented Aug 28, 2020

Yes I am using Cosmonaut. I checked the patch but does that only cover h/l navigation? How about j/k vertical navigation on the right sidebar?

@tntmarket
Copy link
Contributor

tntmarket commented Aug 29, 2020

Yeah, I currently use a horizontal theme (leyendecker), and both h/l and j/k work for me in the sidebar

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

No branches or pull requests

2 participants