Skip to content

Releases: AbdelrahmanHafez/obsidian-scroll-line

1.2.2

Choose a tag to compare

@github-actions github-actions released this 07 Aug 19:13
7cf68a3

Changed

  • Smooth scrolling now uses the active pane's window, including notes opened in popout windows.
  • Settings are searchable in Obsidian 1.13 and later while remaining compatible with older versions.

1.2.1

Choose a tag to compare

@github-actions github-actions released this 07 Aug 19:04
dd5fb96

Changed

  • The plugin no longer writes shortcut defaults directly to Obsidian's configuration. Reading mode shortcuts can be assigned in Settings > Hotkeys.
  • Removed the unused funding link from the plugin manifest.

1.2.0

Choose a tag to compare

@github-actions github-actions released this 07 Aug 18:43
b26e24b

Added

  • Scroll line shortcuts now work in Reading mode.

Fixed

  • Trackpad, mouse wheel, scrollbar, and touch input now take control immediately after shortcut scrolling instead of being pulled back by the active animation.
  • Upward shortcut scrolling continues when the editor adjusts its viewport internally.

1.1.0

Choose a tag to compare

@github-actions github-actions released this 16 Apr 12:29

What's new

  • Smooth scroll — animate the scroll with easing instead of jumping instantly. Enabled by default. Toggle in Settings → Scroll Line → Smooth scroll.

Details

Smooth scroll uses a requestAnimationFrame loop with exponential easing (catches up ~20% of the remaining distance per frame, settling within ~200ms). Key-repeat accumulates into the scroll target, so holding the hotkey glides continuously rather than queueing discrete jumps.

Disabling the toggle falls back to the instant scroll behavior from 1.0.0.

Install / update

Install via Settings → Community plugins, or download main.js, manifest.json, and styles.css from this release and drop them into <vault>/.obsidian/plugins/scroll-line/.

1.0.0

Choose a tag to compare

@github-actions github-actions released this 28 Mar 13:39

Initial release

Scroll the editor viewport up or down by a configurable number of lines without moving the cursor. Similar to editor.action.scrollLineDown / editor.action.scrollLineUp in VS Code.

Features

  • Configurable lines per scroll
  • Keybindings configurable via Obsidian's built-in Hotkeys page
  • Continuous scroll on key hold (registered at CM6 level so key-repeat works)
  • Uses CodeMirror 6's actual line height for accurate scrolling across all themes and font sizes

Install

Install via Settings → Community plugins, or download main.js, manifest.json, and styles.css from this release and drop them into <vault>/.obsidian/plugins/scroll-line/.

Configuration

Default keybindings: Ctrl+Alt+↓ / Ctrl+Alt+↑ (auto-configured on first install).

Open Settings → Scroll Line to configure lines per scroll.