Quickly search the web from within ObsidianMD using custom commands from your command palette! For the best experience, enable the core plugin Web Viewer; otherwise the links open outside of Obsidian in your browser.
- Add your own custom search commands for any website that supports URL-based searching.
- Remove or modify the default commands to your liking.
- Assign hotkeys to your CmdSearch commands for even faster access
Here is a list of common/useful search URLs to reference
- Open the command palette: Press
Ctrl+Pto open Obsidian's command palette. - Find your CmdSearch commands: Type "CmdSearch" to see a list of all your configured commands, or start typing the specific name (e.g., "Google," "YouTube") to quickly find its command.
- Enter a query: Once you select a CmdSearch command from the list, you will be prompted to enter your search query (if the command uses the
%splaceholder). - Opens URL CmdSearch will then open your URL, with your search query automatically inserted
When adding a new command, you'll configure two things:
- Name: This is the name that appears in the command palette.
- URL: This is the URL that CmdSearch will open when you execute the command.
- Add
%sas a placeholder for your search query.- So
https://www.google.com/search?q=%swill prompt you for a query and replace%swith that query.
- So
- If you add a URL that doesn't have a
%s, the link will open instantly from the command palette.- This is useful for sites that don’t use search URLs but that you still want quick access to.
- You can always refer to the dropdown list for usage examples.
- Orginal ${Q} replacement string will continue to work but to better align with web standards, the default option has been changed to %s.
- CmdSearch on GitHub
- Issues and feature requests
- Donate via PayPal
- Any support is appreciated!