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

Default query in backlinks

benaturebenature4k 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!

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
4k
Compatible with
Obsidian 1.5.0+
Platforms
Desktop, Mobile
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

Find related notes and excerpts while writing. Your AI link building copilot displays relevant content in graph + list view. A local embedding model powers semantic search. Zero setup. No API key.

Tag Wrangler

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

Notebook Navigator

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

Recent Files

Display a list of recently opened files.

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Omnisearch

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

TagFolder

Show tags as folder.

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

Breadcrumbs

Visualise the hierarchy of your vault using a breadcrumb trail or matrix view.

Vertical Tabs

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