Copy Search URL
This plugin adds a button to Obsidian's search view. Clicking it will copy the Obsidian URL for the current search to the clipboard. This allows for easier bookmarking of pre-defined searches.
Showcase
Installation
- Search for "Copy Search URL" in Obsidian's community plugins browser.
- Enable the plugin in your Obsidian settings under "Community plugins".
That's it.
Installation via BRAT (for pre-releases or betas)
- Install BRAT.
- Add "Copy Search URL" to BRAT:
- Open "Obsidian42 - BRAT" via Settings → Community Plugins
- Click "Add Beta plugin"
- Use the repository address
czottmann/obsidian-copy-search-url
- Enable "Copy Search URL" under Settings → Options → Community Plugins
Please note
This plugin adds functionality (a button) to a core plugin. The jury's out on whether that idea is a wise one, tho — either way, here we are. ;)
I wanted this functionality for a while so I've built it myself. It was a good learning experience for me.
Development
Clone the repository, run pnpm install
OR npm install
to install the dependencies. Afterwards, run pnpm dev
OR npm run dev
to compile and have it watch for file changes.
Thanks to …
- the obsidian-tasks crew for the "starter templates" for the GitHub Action workflow and the handy
release.sh
script - the humans of Discord channel
#plugin-dev
for pointing me in the right direction
Author
Carlo Zottmann, [email protected], https://zottmann.org/
License
MIT, see LICENSE.md.