Scroll Line

by abdelrahmanhafez
5
4
3
2
1
Score: 51/100

Description

Scroll Obsidian notes by exact lines without moving the cursor or selection.

Reviews

No reviews yet.

Stats

0
stars
216
downloads
0
forks
103
days
15
days
16
days
5
total PRs
0
open PRs
0
closed PRs
5
merged PRs
0
total issues
0
open issues
0
closed issues
52
commits

Latest Version

17 days ago

Changelog

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.

README file from

Github

Scroll Line

Selection stays put Works in Reading mode
Scroll Line keeps the text selection fixed while moving the viewport Scroll Line moves the viewport in Obsidian Reading mode

See it in action

Scroll Line demo showing the viewport move with visible keyboard shortcuts

Demo setting: 4 lines per keypress.

What it does

  • Scrolls by a configurable number of visual lines
  • Keeps the cursor and selection exactly where they are
  • Supports smooth animation and continuous key repeat
  • Works in Editing and Reading modes
  • Uses the active view's line height, so movement stays accurate across themes and font sizes

Shortcuts

Action Editing mode default
Scroll down Ctrl + Option + Down
Scroll up Ctrl + Option + Up

Change either binding in Settings > Hotkeys. Assign the commands there if you also want to use them in Reading mode.

Settings

Open Settings > Scroll Line to change:

  • Lines per scroll: Number of lines moved by each keypress
  • Smooth scroll: Animate movement instead of jumping instantly

Install

Open Scroll Line in the Obsidian Community directory, then press Add to Obsidian.

For a manual installation, download main.js, manifest.json, and styles.css from the latest release, then place them in <vault>/.obsidian/plugins/scroll-line/.

License

MIT