Skip to content
This repository has been archived by the owner on Jul 2, 2023. It is now read-only.

Option to only auto-scroll upward #3

Open
wrgrant opened this issue Nov 15, 2022 · 1 comment
Open

Option to only auto-scroll upward #3

wrgrant opened this issue Nov 15, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@wrgrant
Copy link

wrgrant commented Nov 15, 2022

I find the primary usefulness of this plugin to be keeping the currently editing line away from the bottom, such as when typing notes or other long typing sessions where the benefit here is to not have to move my hands away from keyboard to operate a mouse.

But let's say I realize there is a typo 20-40 lines up above.

I click to move the cursor up toward the top of the screen to edit that word, and all of a sudden, the contents scroll down to put that line I was editing in the center.

Problem: now the bottom-most line I was editing has scrolled down, out of view beneath the bottom of the editor.
This is annoying. As I will now need to go back to the mouse to scroll down again.

It would be cool if the auto-scrolling would optionally only scroll upwards, so seeking the cursor upwards in the document would not cause any auto scrolling.

In this case, only when the cursor reached the lower threshold would it auto scroll.

@MikeyJL
Copy link
Owner

MikeyJL commented Nov 16, 2022

Hi @wrgrant, thanks for opening this issue and sounds like a neat feature. I'll take a look into this and keep you posted 👍🏽

@MikeyJL MikeyJL added the enhancement New feature or request label Nov 16, 2022
@MikeyJL MikeyJL self-assigned this Nov 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants