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
  • Join the community
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Default query in backlinks

benaturebenature3k downloads

Automatically input default query in search input of backlinks in document.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates5

Click to install

This plugin support set custom default navigation of backlinks, including search query, collapse results, show more context, sort order and expanding unlinked mentions.

You can also ask the plugin to remember the bottom backlinks panel display configuration for each file. (thanks to remember-cursor-position)

Chinese introduction: 公众号 / 小红书 如有汉化需要请联系作者

Features

Basic: Set default query for bottom backlinks panel.

  • Automatically trigger query after file is opened.
  • Custom query is preserved in the same leaf.
  • Overwrite old default query if settings is updated.

Other demo videos: TBA

My Story

I use the "backlinks in document" feature to explore connections with other notes. Meanwhile, many note files are linked from my daily notes, such as todo items or those automatically added by the List Modified plugin.

However, since there are many daily notes linking to other notes, the backlinks view becomes cluttered, overwhelmed by daily notes that don't provide much useful information.

To avoid displaying daily notes (for example, those located in the Diary/ folder), I have to manually input the search query -path:Diary in the backlinks view each time. This is why I developed this plugin – to simplify the process of inputting search queries in the backlinks view.

How to open backlinks in Obsidian?

  • Settings - Options - Core plugins: Enable "Backlinks"
  • Settings - Core plugins - Backlinks: Enable "Backlink in document"
  • For specific file, there is a ··· at the top right corner, click it and select "Backlinks in document".

Install

Install from community plugins

Install by BRAT Plugin

  • First install BRAT Plugin:
  • In BRAT Plugin, click Add Beta plugin
  • Enter https://github.com/Benature/obsidian-default-query-in-backlink
  • Enable Default query in backlinks in Community plugins

Manually install

  • Download latest version in Releases
  • Copy over main.js, manifest.json to your vault VaultFolder/.obsidian/plugins/default-query-in-backlink/
  • Reload plugins in Community plugins and enable Default query in backlinks

How to build

  • git clone https://github.com/Benature/obsidian-default-query-in-backlink clone this repo.
  • npm i install dependencies
  • npm run dev to start compilation in watch mode.
  • npm run build to build production.

Support

If you find this plugin useful and would like to support its development, you can sponsor me via Buy Me a Coffee ☕️, WeChat, Alipay or AiFaDian. Any amount is welcome, thank you!

68%
HealthFair
ReviewCaution
About
Set custom default queries and view options for the backlinks panel — filter by path, collapse results, show more context, control sort order and expand unlinked mentions. Remember panel display per file/leaf and automatically run or update the saved query when a file opens.
LinksSearchSidebar
Details
Current version
0.1.0
Last updated
2 years ago
Created
2 years ago
Updates
5 releases
Downloads
3k
Compatible with
Obsidian 1.5.0+
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Support
Author
benaturebenature
github.com/Benature
GitHubbenature
  1. Community
  2. Plugins
  3. Links
  4. Default query in backlinks

Related plugins

Smart Connections

AI link discovery copilot. See related notes as you write. Lookup using semantic (vector) search across your vault. Zero-setup local model for embeddings, no API keys, private.

Tag Wrangler

Rename, merge, toggle, and search tags from the tag pane.

Better Search Views

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

Floating TOC

A floating directory that hovers a widget of the current directory on the notes page.

Notebook Navigator

Alternative file browser with folders, tags, properties, shortcuts, previews, keyboard navigation, drag and drop, and pinned notes.

Recent Files

Display a list of recently opened files.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.

MCP Tools

Securely connect Claude Desktop to your vault with semantic search, templates, and file management capabilities.

Advanced URI

Control everything with URI.

TagFolder

Show tags as folder.