New Tab by Default

unlisted

by Daniel "Klokie" Grossfeld

Open links, files, and search results in a new tab by default — configurable per source.

1 starsUpdated 1mo agoMIT
View on GitHub

New Tab by Default

An Obsidian plugin that opens links, files, and search results in a new tab by default — just like a browser.

Features

  • Browser-like navigation — clicking internal links, File Explorer items, and search results opens them in a new tab instead of reusing the current one.
  • Per-source control — toggle the behavior independently for editor links, File Explorer, search results, backlinks, graph view, and more.
  • Modifier key support — Cmd/Ctrl-click and middle-click behave the way you configure them.
  • Existing tab detection — optionally switch to an already-open tab instead of creating duplicates.
  • Split modes — open in a new tab, split right, or split down.
  • Background tabs — open tabs without stealing focus.

Installation

From Obsidian Community Plugins (coming soon)

  1. Open Settings → Community plugins → Browse
  2. Search for "New Tab by Default"
  3. Click Install, then Enable

Manual

  1. Download main.js, manifest.json, and styles.css from the latest release.
  2. Create a folder <vault>/.obsidian/plugins/new-tab-by-default/ and place the files there.
  3. Reload Obsidian and enable the plugin in Settings → Community plugins.

Development

git clone https://github.com/klokie/obsidian-new-tab-by-default.git
cd obsidian-new-tab-by-default
npm install
npm run dev

For rapid testing, symlink the repo into your vault:

ln -s "$(pwd)" "<vault>/.obsidian/plugins/new-tab-by-default"

Then reload Obsidian (Cmd+R) after each change.

Settings

SectionSettingDefault
GlobalEnable pluginOn
Default behaviorNew tab
Focus new tabOn
SourcesEditor linksOn
File ExplorerOn
Search resultsOn
BacklinksOff
Outgoing linksOff
Graph viewOff
Quick SwitcherOff
ModifiersRespect default Obsidian modifiersOn
Cmd/Ctrl-click actionInvert
Middle-click new tabOn
Edge rulesIf target already openSwitch to existing
Unresolved links in new tabOn
DebugDebug loggingOff

Roadmap

  • 0.1.0 (MVP): Editor links + File Explorer + Search, basic settings, debug logging
  • 0.2.0: Backlinks/outgoing links, existing-tab switching, pinned-leaf rules
  • 0.3.0: Graph + Quick Switcher, background open improvements

Support

If you find this plugin useful, consider supporting development:

Ko-fi

License

MIT

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.