1.0.0
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.