Ever since I started using Obsidian, I’ve been setting up some Alfred automations that allow me to use the app more efficiently. The workflow was messy and hardcoded with my own info, but I’ve cleaned it up and it’s ready to share.
Obsidian Utilities.zip (197.9 KB)
v (no arguments)
Open vault folder in VS Code
s [search tearms]
Search note titles and contents with Alfred.
Open results in Obsidian or VS Code (Cmd modifier)
j [journal entry]
Append journal entry to daily note. Adds timestamped heading and journal tag.
Append entry to daily note.
Appends tasks to tasks file, under the configured heading. Prefixes tasks with date created.
Transcludes task in the daily note. Adds task tag. Date is ommited.
Cmd+Shift+R (block referencing helper)
I use this when I’m already looking at the block I wish to reference, bypassing the need to go elsewhere and rely on Obsidian’s autocomplete.
- Place the cursor at the end of the block you wish to reference
- Use the shortcut. A reference code is added at the cursor position.
- When the success notification appears, the referencing code is ready to be pasted.
This generates a link, but you can easily turn it into a transclusion by adding “!” before “[[”.
clip (no arguments)
- Takes the web page open in Safari’s active tab and saves it as a new note in markdown format.
- Places a link to it in the daily note.
Logged Google Search
Add it in
Features -> Setup fallback results -> + -> Workflow Trigger
Logs every Google search you perform in Alfred, under the configured
searches_heading in the daily note.
This hasn’t been tested in any other computer. If anything goes wrong, please tell me so I can fix it. Also, if you have ideas or requests, do let me know.