Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: prevent creating new tab when file is already opened #758

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JayPritchet
Copy link

Fixes #634 #583 #401 #338 #530
Added a new setting item "Focus Existing Tab" in temple and capture setting.

When "Focus Existing Tab" is set True, the obsidian will check if there is a tab that already opened the file. If already opened, it will set that tab to be actived, otherewise it will create a new tab with corresponding settings.

When "Focus Existing Tab" is set False, the obsidian create a new tab with corresponding settings.

The new setting panel is like this:
image

Copy link

vercel bot commented Nov 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
quickadd ✅ Ready (Inspect) Visit Preview Nov 26, 2024 6:36am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE REQUEST] Templates choice - a setting that opens the file created in the current tab
1 participant