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 Offset

lijyzelijyze9k downloads

Preserve custom distances before or after cursor.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates4

This plugin can keep a custom distance before and after cursor, just like scrolloff in vim of cursor surrounding lines in VS-Code.

Usage

  1. Define a distance you like in setting tab.
  2. Enjoy it!

You can set the distance to either a fixed distance with unit in px or a relative distance to the height of the content area.

Notice

This plugin will exam the boundary situation. If the given distance more than half of the content area, it will be regarded as half of the content (actually less then half, beacause of the height of cursor).

Manually installing the plugin

  • Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/obsidian-scroll-offset/.

Donating

65%
HealthFair
ReviewSatisfactory
About
Keep a custom vertical margin around the cursor while scrolling, emulating Vim's scrolloff so the cursor stays away from window edges. Set the offset in pixels or as a proportion of the content height; auto-adjust at boundaries so it never exceeds half the view.
NavigationVimInterface
Details
Current version
1.0.4
Last updated
4 years ago
Created
4 years ago
Updates
4 releases
Downloads
9k
Compatible with
Obsidian 0.12.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
lijyzelijyze
github.com/lijyze
GitHublijyze
  1. Community
  2. Plugins
  3. Navigation
  4. Scroll Offset

Related plugins

Creases

Tools for effectively folding Markdown sections.

Quiet Outline

Make outline quiet and more powerful, including no-auto-expand, rendering heading as Markdown, and search support.

Hover Editor

Transform the Page Preview hover popover into a fully working editor instance.

Graph Banner

Display a local graph view to the note header

Dragger

Drag and drop any block (paragraphs, headings, lists, etc.) to rearrange content like Notion.

Disable Tabs

Disables having more than one tab open at a time.

Image Toolkit

Click images to preview with zoom, move, rotate, flip, invert, and copy.

Beautitab

Creates a customizable new tab view with beautiful backgrounds, quotes, search, and more.

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.