Skip to content

1.0.0

Choose a tag to compare

@github-actions github-actions released this 28 Mar 13:39
· 44 commits to main since this release

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.