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

Top Aligned Search

Sean localSean local78 downloads

Search within the active note and align each next match's line to the top of the editor.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

Top Aligned Search is an Obsidian plugin for searching inside the active Markdown note. It keeps the search window floating above the editor and, when you jump between matches, aligns the matched line to the top of the editor viewport.

This is useful when you want a browser-like find bar, but with more predictable reading position control in long notes.

Features

  • Search within the current Markdown note.
  • Highlight all keyword matches in the editor.
  • Emphasize the currently selected match.
  • Jump to the next or previous match from the current document position.
  • Align the matched line to the top of the editor when jumping.
  • Keep the search window floating above the document.
  • Click and edit the document without closing the search window.
  • Drag the search window to move it.
  • Resize the search window from the bottom-right corner.
  • Close the search window only by clicking its x button.
  • Press Esc to close image previews without closing the search window.
  • Switch the interface language between Chinese and English.
  • Open from the left ribbon icon, command palette, or hotkey.

Installation

Manual Installation

  1. Download or clone this plugin.
  2. Copy the plugin folder to your vault:
<your-vault>/.obsidian/plugins/top-aligned-search/
  1. Make sure the folder contains:
main.js
manifest.json
styles.css
README.md
  1. In Obsidian, open Settings -> Community plugins.
  2. Refresh installed plugins if needed.
  3. Enable Top Aligned Search.

Usage

Open a Markdown note, then open Top Aligned Search in one of these ways:

  • Click the search icon in the left ribbon.
  • Run Open top aligned search or 打开页顶搜索 from the command palette.
  • Press Ctrl/Cmd + Shift + F.

Type a keyword in the search box. The plugin will highlight matches but keep the document at its current position.

Use these controls:

  • Enter: jump to the next nearest result from the current document position.
  • Shift + Enter: jump to the previous nearest result from the current document position.
  • Next: jump to the next result.
  • Previous: jump to the previous result.
  • EN / 中文: switch interface language.
  • x: close the search window.

When jumping to a result, the matched line is moved to the top of the editor viewport.

image-20260617122650889

Notes

  • The plugin works on the active Markdown editor.
  • Search is case-insensitive.
  • The search window is not an Obsidian modal, so it does not darken the document and is not closed by Esc.
  • Language preference is saved in the plugin data.

Development

This plugin is currently distributed as plain JavaScript and CSS:

main.js
styles.css
manifest.json

No build step is required for manual use.

data.json is generated locally by Obsidian to store plugin preferences and does not need to be committed.

License

Add your preferred license before publishing the repository.

HealthExcellent
ReviewSatisfactory
About
Search the active Markdown note with a floating find bar that stays above the editor and highlights all matches. Align the selected match to the top of the editor as you jump between results, keep the search window open while editing, and drag or resize it without closing.
SearchInterfaceNavigation
Details
Current version
1.0.0
Last updated
2 months ago
Created
2 months ago
Updates
1 release
Downloads
78
Compatible with
Obsidian 1.5.0+
Platforms
Desktop, Mobile
Report bugRequest featureReport plugin
Author
Sean localSean localtyronewj
GitHubtyronewj
  1. Community
  2. Plugins
  3. Search
  4. Top Aligned Search

Related plugins

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

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.

Dragger

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

Home tab

A browser-like search tab for your local files.

Graph Banner

Display a local graph view to the note header

Floating Search

Search text by using Obsidian default search view.

Better Search Views

Upgrade global search, backlinks and queries with outliner-like context trees.

Image Toolkit

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

Notebook Navigator

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