Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Scroll Line

abdelrahmanhafezabdelrahmanhafez32 downloads

Scroll the viewport up or down by a configurable number of lines without moving the cursor.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

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.

Features

  • Configurable lines per scroll
  • Optional smooth (animated) scroll with easing, toggleable in settings
  • Keybindings configurable via Obsidian's built-in Hotkeys page
  • Continuous scroll on key hold (registered at CM6 level for proper key-repeat)
  • Uses CodeMirror 6's actual line height for accurate scrolling across all themes and font sizes

Installation

From Obsidian Community Plugins

  1. Open Settings > Community plugins
  2. Search for Scroll Line
  3. Click Install, then Enable

Manual Installation

  1. Download main.js, manifest.json, and styles.css from the latest release
  2. Create a folder scroll-line inside your vault's .obsidian/plugins/ directory
  3. Place the downloaded files inside that folder
  4. Reload Obsidian and enable the plugin in Settings > Community plugins

Configuration

Lines 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".

Why This Plugin?

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.

License

MIT

90%
HealthExcellent
ReviewSatisfactory
About
Scroll the editor viewport up or down by a configurable number of lines without moving the cursor. Enable optional smooth animated scrolling and hold keys for continuous repeat using CodeMirror 6's native key handling and actual line-height for accurate, theme-agnostic scrolling.
NavigationHotkeys
Details
Current version
1.1.0
Last updated
Last month
Created
2 months ago
Updates
2 releases
Downloads
32
Compatible with
Obsidian 1.0.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Support
Author
abdelrahmanhafezabdelrahmanhafez
github.com/AbdelrahmanHafez
GitHubabdelrahmanhafez
  1. Community
  2. Plugins
  3. Navigation
  4. Scroll Line

Related plugins

Leader Hotkeys

Add leader hotkey support to any command (like tmux or vim).

Insert Heading Link

Add a command to create a link to a heading.

Footnote Shortcut

Makes creating footnotes more fun!

Core Search Assistant

Enhance built-in search: keyboard interface, card preview, bigger preview.

Tab Switcher

Switch your tabs with Ctrl + Tab in recently used order like in a browser.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

Recent Files

Display a list of recently opened files.

Vertical Tabs

Offer an alternative view that displays open tabs vertically, allowing users to group and organize tabs for a better navigation experience.

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.