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

Page Down then Page Up to move cursor back to the same spot #1582

Closed
eugenesvk opened this issue Jan 26, 2022 · 2 comments
Closed

Page Down then Page Up to move cursor back to the same spot #1582

eugenesvk opened this issue Jan 26, 2022 · 2 comments
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements

Comments

@eugenesvk
Copy link

Currently jumping Down with page_down then Up with page_up doesn't land the cursor in the same spot, which is rather confusing, I'd much prefer some consistency where navigation in the opposite direction would completely "cancel out" the previous navigation of the same kind

I think that's due to the fact that a cursor doesn't move until it hits an invisible bottom/top margin and only then the starts moving, so unless it's at this bottop/top margin it actually never moves by a page, only the view shifts by a page

Is there a way to make page jumps move the cursor always by a page, So if I am currently at line 5 and press PgDn then PgUp I'd end up at line 5?

I've tried ['page_down','align_view_center'] and ['page_up','align_view_center'], this seems to be closer to what I'm used to, but then it centers everything, while I'd prefer the cursor to remain at its original vertical position

@eugenesvk eugenesvk added the C-enhancement Category: Improvements label Jan 26, 2022
@kirawi kirawi added the A-helix-term Area: Helix term improvements label Jan 26, 2022
@archseer
Copy link
Member

Related to #750

@eugenesvk
Copy link
Author

Hm, yeah, this seems like a duplicate (if we also extend it from half page to page), so will close this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

3 participants