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

Feature Request: tag open tabs #130

Open
notuntoward opened this issue Apr 8, 2024 · 3 comments
Open

Feature Request: tag open tabs #130

notuntoward opened this issue Apr 8, 2024 · 3 comments

Comments

@notuntoward
Copy link

I've been looking for a command that could add the same tag to all open tabs. Tag-wrangler seems like a good place for it.

So, I'm humbling requesting that you add one to this great plugin.

My use case is that, while searching for related notes, I often end up with them all in open tabs. It's only then, having seen the group, that I can think of a good tag name for them. At this point, I'd love to be able to Tag Wrangler: Add Tag to Open Tabs

@pjeby
Copy link
Owner

pjeby commented Apr 8, 2024

Tag Wrangler doesn't even have a way to add a tag to the current tab, though, except by drag-and-drop, so that you can precisely determine where to place it.

@notuntoward
Copy link
Author

Does it have a way of iterating through all open tabs?

@pjeby
Copy link
Owner

pjeby commented Apr 9, 2024

There are hotkeys for navigating between tabs that you can use, certainly. I'm not sure what you're asking for here. As I said, TW doesn't support adding tags to files at all except via drag and drop (because you need to specify where you want the tag inserted), and that means that doing it for all open files doesn't make any sense (because you'd need to go to each tab and pick the position).

You're not limited to Tag Wrangler for this functionality in any case; other plugins can add menu items to Tag Wrangler via its "tag-wrangler:contextmenu" event. I'm not sure which plugins provide direct support for that, but I know QuickAdd macros can be set up to run off of events like that, albeit with some Javascript required. You may be able to find someone who can help you write such a macro on the #plugin-advanced channel of the Obsidian Discord server.

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

No branches or pull requests

2 participants