Click links/files to open in new tab by default

Hi all, I wrote a plugin for this functionality. It’s relatively untested, so I’d appreciate it if ya’ll could help me test it out for a while before I submit it to the plugin store.

Here is the repo: GitHub - patleeman/obsidian-open-in-new-tab

To install add this repo as a beta plugin in BRAT42.

If you run into any issues, please open an issue on Github: Issues · patleeman/obsidian-open-in-new-tab · GitHub

This plugin solves two main issues:

  1. The plugin will open all files in a new tab when clicked on the file-explorer.
  2. If the file is already open in that tab, it’ll just make that tab active.

It currently does some unsavory things like click jacking of the .nav-file class so I’d rather have it well tested before releasing it to the world. There might also be a better way to do this or some weird edge case it breaks, so I’d appreciate letting me know if you hit them.

14 Likes