No description
Find a file
Jesse Hines d105532b6a
i18n
2026-06-30 19:13:54 -04:00
.github Add attestations 2026-05-16 12:40:22 -04:00
screenshots i18n 2026-06-30 19:13:54 -04:00
src i18n 2026-06-30 19:13:54 -04:00
test Fix android tests 2026-06-29 20:30:14 -04:00
.gitignore Update test configs 2025-08-03 15:14:50 -04:00
.mocharc.json Tab to spaces 2025-02-12 19:16:05 -05:00
.npmrc Set min-release-age 2026-04-01 19:48:23 -04:00
esbuild.config.mjs Remove deprecated deps 2026-05-16 12:31:37 -04:00
eslint.config.mjs Set up obsidian eslint 2026-05-14 20:44:55 -04:00
LICENSE Add LICENSE 2025-03-05 21:06:33 -05:00
manifest.json i18n 2026-06-30 19:13:54 -04:00
package-lock.json i18n 2026-06-30 19:13:54 -04:00
package.json i18n 2026-06-30 19:13:54 -04:00
README.md i18n 2026-06-30 19:13:54 -04:00
styles.css Add VSCode style preview tabs 2026-06-29 18:28:53 -04:00
tsconfig.json i18n 2026-06-30 19:13:54 -04:00
version-bump.mjs add version bump script (#10) 2022-01-22 16:13:50 -05:00
versions.json 2.1.1 2026-05-23 11:09:45 -04:00
wdio.conf.mts Remove deprecated deps 2026-05-16 12:31:37 -04:00
wdio.mobile.conf.mts Fix android tests 2026-06-29 20:30:14 -04:00

Open Tab Settings Test

This plugin adds settings to customize how Obsidian opens tabs and navigates between files, including options to:

  • open in new tab by default
  • switch to existing tab instead of opening a duplicate file
  • customize new tab placement and order
  • open new tabs in the opposite pane when using a split workspace

Using these settings can enable a more familiar workflow for those used to working in editors like VSCode. With the "Always open in new tab" toggled, Obsidian will always open files in a new tab, whether they were opened via links, the quick switcher, file explorer, etc. Never accidentally lose your tabs again!

Features

settings

The primary settings can also be toggled via commands.

Comparison with similar plugins

There are several plugins that attempt to solve this problem with different pros and cons. However, most other options either only work in specific menus or have a noticeable timer delay before opening new tabs. "Open Tab Settings" works by patching some of Obsidian's internal methods to achieve consistent and seamless new tab and de-duplication behavior throughout Obsidian. It is inspired by the Opener plugin which worked in a similar way, but is no longer maintained and broken on the latest Obsidian (though it has since been forked). "Open Tab Settings" also adds a few improvements over Opener, including making non-file views such as the Graph View also open in new tabs and adding several customization options for new tab placement.

Plugin compatibility

Open Tab Settings should be compatible with most other plugins, if you encounter any plugin incompatibility problems please submit an issue.

Some known plugin interactions:

  • The PDF++ plugin customizes the opening behavior of PDFs which can override Open Tab Setting's behavior. You can make the plugins play nicely together by setting the "How to open..." options to "new tab" in the PDF++ settings.

Contributing

You can build the plugin with:

npm install
npm run build

This plugin has end-to-end tests using wdio-obsidian-service and WebdriverIO. Run them with:

npm run test

If you'd like to help with translating, add a new locale file under src/locales.