Auto Scroll

by femto
5
4
3
2
1
Score: 50/100

Description

An Obsidian plugin to auto scroll once you reach the bottom/ half-way through your page

Reviews

No reviews yet.

Stats

3
stars
310
downloads
1
forks
65
days
9
days
9
days
1
total PRs
0
open PRs
0
closed PRs
1
merged PRs
1
total issues
0
open issues
1
closed issues
14
commits

Latest Version

9 days ago

Changelog

Improves Down Arrow Key functionality

README file from

Github

Auto Scroll

Auto Scroll is an Obsidian plugin that keeps the active editor moving while you write and navigate. It can scroll when the text cursor reaches a configured point while typing, when you press the Down arrow, or when the mouse pointer moves into a configured edge zone.

Settings

  • Enable auto-scroll: turns the behavior on or off.
  • Scroll while typing: scrolls when the text cursor reaches the configured trigger point after typing.
  • Scroll on Down arrow: moves the viewport every time the Down arrow is pressed.
  • Down arrow scroll amount: controls how many pixels the viewport moves per Down arrow press.
  • Scroll with mouse near bottom: scrolls downward when the mouse pointer reaches the lower trigger zone.
  • Scroll with mouse near top: scrolls upward when the mouse pointer reaches the upper trigger zone.
  • Trigger point: the viewport percentage where scrolling begins. The default is 80%. For mouse scrolling, this means the bottom 20% scrolls down and the top 20% scrolls up when both mouse directions are enabled.
  • Maximum scroll step: caps how many pixels the plugin scrolls per trigger.
  • Scroll cooldown: sets the minimum time between automatic scrolls.
  • Only near document bottom: requires the editor to be near the configured document depth before scrolling.
  • Document depth: controls where the near-bottom requirement becomes active.
  • Smooth scrolling: animates each scroll movement.

Commands

  • Toggle auto-scroll: quickly enables or disables the plugin from the command palette.

Development

Install dependencies:

npm install

Build the plugin:

npm run build

For watch mode during development:

npm run dev