abdelrahmanhafez32 downloadsScroll the viewport up or down by a configurable number of lines without moving the cursor.
An Obsidian plugin that scrolls 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.
main.js, manifest.json, and styles.css from the latest releasescroll-line inside your vault's .obsidian/plugins/ directoryLines per scroll: Open Settings > Scroll Line to set how many lines to scroll per keypress (default: 1).
Smooth scroll: Toggle in Settings > Scroll Line to animate the scroll with easing instead of jumping instantly (default: on).
Keybindings: Default keybindings (Ctrl+Alt+↓ / Ctrl+Alt+↑) are set up automatically on first install. To change them, open Settings > Hotkeys and search for "Scroll Line".
Obsidian has no built-in command for scrolling the viewport by lines. The existing hotkey system doesn't support key-repeat for commands, so holding a key only fires once. This plugin registers keybindings at the CodeMirror 6 level, which properly handles key-repeat for smooth, continuous scrolling.