Tired of typing the same prompts into ChatGPT?
Why not create a prompt menu that pops up when you need it—for free.
Here’s how:👇
2/ Espanso is a free and open source tool.
Let's thank @terzi_federico for sharing it with the world.
It runs on Mac, Windows, Linux.
3/ You set up shortcuts, like typing:
;copy
and Espanso replaces it with whatever you want
eg, “You are an expert copywriter…”
4/ But the really cool part is being able to trigger menus.
Espanso calls these “Choice Extensions”
Type a shortcut, and a menu pops up, with whatever prompts you've saved.
5/ In this example, when I type `;ci` (CI for Code Interpreter):
I get a menu of prompts I've saved for Code Interpreter.
6/ To set it up, just install from the website.
The next bit is a tiny bit more complicated.
But don’t worry. Find a file called `base.yml`. Open it in a text editor like Notepad or TextEdit.
You can find the path for base.yml in the documentation:
7/ Then copy the menu code (Choice Extension) into the `base.yml` text file.
8/ Change “trigger” to be whatever you want to type to make the menu pop-up.
You can have as many different menus as you want, eg:
- ;ci for Code Interpreter
- ;gp for ChatGPT
- ;fo for Format of Output
You really can go wild.
9/ If you have any problems:
- Let me know. I'll try to help.
- Or: upload your yml file to Code Interpreter, with some of the Espanso documentation. Ask Code Interpreter to modify your yml file.
There you have it! You've got a prompt library that pops up when you need it.
Hope you found this helpful. What have you been using to save your prompts?
If you'd like more of the learnings I'm sharing on AI and writing:
1. Follow me @JeremyNguyenPhD
2. Scroll up to the first post (or click through below) and bookmark it so you can find it later.
Share this Scrolly Tale with your friends.
A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.