Raycast
Switched to Raycast as the primary launcher from Alfred.
Before Alfred, I used to use LaunchBar.
Notes
- To install:
brew install --cask raycast
. I installed using the dmg. - Turned off Spotlight’s keyboard shortcut in the past in Mac settings. The default keyboard shortcut for Raycast is
⌥␣
. Changed it to⌘␣
. Demoted Alfred to⌃␣
. ⌘⎋
to escape to the main search page and⌘W
to close at any time.- ‘Calculator History’ command to see the history of all calculations and conversions.
- Assigned cal alias to ‘My Schedule’.
- You can use natural language to specify your file search! A couple of examples:
- Searching text files in a certain folder
.txt in ~/Desktop
- Search for PDF files with “certificate” in its name
.pdf certificate
- Searching text files in a certain folder
- Fuzzy search works. So we could simply type the first letters of commands like
ss
for Search Snippets, Search Screenshots etc. - Screenshots search includes OCR.
- Begin typing Hide All Apps Except Frontmost: to concentrate on the frontmost app and hide all others.
- To create a snippet, the command is ‘Create Snippet’.
- To install an extension, begin typing the ‘Store’ command.
- Didn’t find 1Password extension useful. Disabled it. It keeps asking me to sign in using TouchBar almost every time and that too twice in succession every time 🤷
- In the Quick Add Reminder, we can specify repeat frequency like ‘every day’ and list name in natural language. Not sure if this needs the Pro version. I upgraded to the Pro w/ Advanced AI.
- Installed CleanShot X extension but disabled it since I am used to
⌘⇧3
,⌘⇧4
, and⌘⇧5
. - Made Google as the first fallback command.
- Window management frequently used commands:
- Maximize
- Almost Maximize
- Restore
- Center Three Fourths
- Center
- To bring up the emoji picker when typing within Raycast’s config windows, type
:
- It is possible to pass arguments to existing commands that accept text input using deeplinks. See this.
- Any images in the clipboard history or Show Screenshots command can be annotated with CleanShot X using
⌘⇧X
. - Sample snippets for importing: https://snippets.ray.so/symbols.
Apps that Raycast made redundant for me
- AppCleaner
- ColorSlurp
- Gestimer
- Lungo
- Paste
- Unclutter
Extensions installed
- Arc: mainly to open URLs incognito
- Apple Notes
- Apple Reminders
- Battery Health
- Brew
- Change Case: works on selected text
- Coffee
- Color Picker
- Easy New File: Quickly create file in the current Finder window or on the desktop
- Dash
- Format JSON
- GIF Search
- GitHub Gist: Generated a fine-grained token here. Granted user permissions to gists. Expires on Sun, May 12 2024.
- Google Maps: https://d.pr/i/JdgZfq
- Hacker News
- Iconify: disabled since there are too many sources to choose from and am not sure which is the general go-to
- Image Modification
- IMDB
- Installed Extensions: Command is ‘Search Installed Extensions’
- Lorem Ipsum: To copy 3 paras to the clipboard, type L, tab, 3 and
⏎
. Change the setting to paste to active app. Screenshot on 2024-04-19 at 5-45-37 PM.png - Messages
- Password Generator
- Placeholder: for images
- Pomodoro
- Random Data Generator
- ray.so: for creating beautiful images of code
- Remove Background
- Remove Paywall
- Ruler
- ScreenOCR
- Search MDN
- Speedtest
- Spotify Player
- SVGO: For optimizing SVGs
- Timers: added menu bar icon
- TinyPNG: for compressing and downsizing images
- Todoist
- Twitter/X Video Downloader
- Unix Timstamp: Convert between unix timestamp and human-readable form date
- Unsplash: not working for me
- URL Tools: for encoding and decoding
- Visual Studio Code
- Word Count
- YouTube Downloader
- Quick Event: Create a calendar event using natural language
- Quit Applications
- Zoom
Extensions to check out
- Authy
- Bitwarden
- Daily Log extension
- DevUtils
- PastePlain
Keyboard shortcuts
Keyboard shortcut | What it does |
---|---|
right ⌘ | using [[BetterTouchTool]] |
⌘⇧G | |
⌘⇧N | Floating notes |
⌘⇧S | Search snippets |
⌘⇧V and right ⌥ | Clipboard history (right ⌥ using [[BetterTouchTool]]) |
⌘⇧/ | Search menu items |
⌘⌥D | Search selected text in Dash |
⌘⌥G | Search selected text in Google |
⌘⌥N | New Bear note |
⌘⌥P | Pick color |
⌥A | Arc |
⌥E | Search emojis & symbols |
⌥F | Finder |
⌥J | AI chat (set in AI tab of Settings) |
⌥M | Spark mail |
⌥P | Path Finder |
⌥R | Quick add reminder |
⌥S | Search screenshots |
⌥V | Visual Studio Code |
⌃⌘⌥← | Left half (mapped to Fn ← with [[BetterTouchTool]]) |
⌃⌘⌥→ | Right half (mapped to Fn → with [[BetterTouchTool]]) |
⌘K | To change the selection in popups like raycast-interface.png |
⌥⇥ | Switch windows |
Aliases
Alias | For |
---|---|
cal | My Schedule |
f | File search |
fn | Floating notes |
n | New Bear note |
p | Play/pause Spotify |
s | Search Bear notes |
yt | Search YouTube |
Snippets
Name | Snippet | Keyword |
---|---|---|
Last but one clipboard item | {clipboard offset=1} |
;cb |
CSS Grid | %root% {<br>display: grid;<br>grid-template-columns: repeat (3{cursor}, minmax(0, 1fr));<br>} |
|
Email us | Please email your site's WP admin login to [email protected] so we can take a look and troubleshoot.<br><br>https://wordpress.org/plugins/temporary-login-without-password/ |
|
Left Arrow | ← | ;la |
Right Arrow | → | ;ra |
Up Arrow | ↑ | ;ua / ;up |
Down Arrow | ↓ | ;da / ;down |
Command | ⌘ | ;cmd |
Shift | ⇧ | ;shift |
Option | ⌥ | ;alt / ;opt |
Control | ⌃ | ;ctrl / ;control |
Enter | ⏎ | ;ent |
Escape | ⎋ | ;esc |
Backspace | ⌫ | ;back / ;del |
Check/Tick | ✓ | ;chk / ;tick |
Middle Dot | · | ;dot |
Copyright | © | ;cr |
Trademark | ™ | ;tm |
Shrug | ¯_(ツ)_/¯ | ;shrug |
Pretty print PHP array | echo "<pre>" . print_r( {cursor}$arr, true ) . "</pre>"; |
|
Bricks dynamic data in WordPress block editor in a HTML block | <p><code><span>{</span>{cursor}echo:fn(arg)<span>}</span></code></p> |
|
Bricks Query Results Count | {query_results_count:{cursor}} |
;qrc |
Quicklinks
Quicklink | URL |
---|---|
Search Google | https://google.com/search?q={Query} |
Search Google Images | https://google.com/search?q={Query}&tbm=isch |
Search YouTube | https://www.youtube.com/results?search_query={Query} |
Today’s Notes in Bear | bear://x-callback-url/search?term=%40last1days |
Bear notes from the last 7 days | bear://x-callback-url/search?term=%40last7days |
Search selected text in Dash | raycast://extensions/RSO/dash/index?fallbackText={Query} |
Search Mac Power Users (MPU Talk) | https://talk.macpowerusers.com/search?q={Query}%20order%3Alatest |
Search Bricks Academy | https://academy.bricksbuilder.io/?s={query} |
Search Bricks Forum | https://forum.bricksbuilder.io/search?q={query}%20order%3Alatest |
Plugins | ~/Documents/WP/Plugins |
Raycast AI
- Has 3 components: Quick AI, AI Chat and AI Commands.
- The default Quick AI Model in settings is GPT-3.5 Turbo. Changed it to Sonar Medium.
- Press tab on the root search for quick AI or to access the result of the last AI command.
- New chat:
⌘N
. - To toggle the sidebar in the AI chat:
⌘⇧S
(this isn’t going to work for me because I set it to bring up Snippets). - To search previous chats:
⌘⇧F
(for searching by chat content) or⌘P
(for searching by chat titles).
Anthropic models: Claude 3 Opus, Claude 3 Haiku, Claude 3 Sonnet.
Available models
- Recommended by Raycast for Quick AI:
- GPT-3.5 Turbo
- Claude 3 Haiku
- Sonar Small
- Sonar Medium
- GPT-4
- GPT-4 Turbo
- Claude 3 Sonnet
- Claude 3 Opus
- Llama 2 70B
- Mixtral 8x7B
- Code Llama 70B
From other users
We mainly recommend using the Perplexity Sonar models in Quick AI as they are optimized for question-answer scenarios and not multi-turn conversations. – by Thomas of Raycast
I use the following setup:
- Quick AI: Perplexity Sonar Medium
- AI Chat: Anthropic Claude 3 Opus
- AI Commands: Depends, but mostly the built-in ones – by Thomas of Raycast
I found them more fluent, so I enjoy Claude for some copywriting. (Referring to Anthropic) – by Thomas of Raycast
Absolutely loving Mixtral 8x7B for coding work. It’s just so fast
For Quick AI, I use Haiku as it is optimal for this task in terms of speed and quality of responses. For AI Chat, I mainly use GPT-4 Turbo and Opus.
Sonar Medium for Quick AI
Opus has better reasoning and is more conversational. Tbh, I find even Sonnet better than GPT-4 Turbo.
I will start. I find Perplexity is great for Quick AI. GPT 4 Turbo is well rounded. Opus is sophisticated but slow.
I’m really liking the suggested Sonar Medium for quick AI. Very zippy and so far has had great responses for those quick/short questions.
In my experience, they are the best for coding tasks (referring to Anthropic models)
Custom AI commands
- Add Asterisks
- List Items
- Remove Asterisks
Compared to Alfred
- More consistent UI and UX
- More keyboard-centric
- Better and larger 3rd party extensions ecosystem
Downsides/bugs/issues
- Not possible to pass text/file/folder from anywhere in the system like webpage/Finder/Trickster to Raycast as input. Hence also using Alfred for its universal search. To upload a screenshot that’s recently captured to Droplr, for example, I
⌃Z
, press↓
arrow in the Trickster window to select the file,⌘⇧O
, begin typing Droplr in Alfred and hit⏎
. - Poor file management and directory browsing compared to LaunchBar and Alfred.
- If a snippet’s keyword is typed immediately after another, it does not get expanded. Slack. Hence using Alfred snippets for such times (screenshot).
- Selected AI model does not stick in Quick AI for subsequent commands. Slack