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

lijyzelijyze11k downloads

Preserve custom distances before or after cursor.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates7

This plugin can keep a custom distance before and after cursor, just like scrolloff in vim or 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

HealthExcellent
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.6
Last updated
2 days ago
Created
5 years ago
Updates
7 releases
Downloads
11k
Compatible with
Obsidian 1.14.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
lijyzelijyze
github.com/lijyze
GitHublijyze
  1. Community
  2. Plugins
  3. Navigation
  4. Scroll Offset

Related plugins

Note Toolbar

Add customizable toolbars to your notes.

Hover Editor

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

Quiet Outline

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

Creases

Tools for effectively folding Markdown sections.

Jump to link

Quickly navigate between links, or jump to any word on the page using hotkeys.

Dragger

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

Vim Motions

Full Neovim experience inside Obsidian with Lua scripting, Flash/EasyMotion jumps, Telescope-style picker, Oil explorer, snippets, surround, animated cursor, undo tree, and Markdown text objects.

Graph Banner

Display a local graph view to the note header

Sidebar Keyboard Navigation

Smoothly navigate the native File Explorer using keyboard only (Vim-like).

Notebook Navigator

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