Managing a Library of prompts with variables - using Cloud Storage, Espanso Forms and Symlinks

Table of Contents

Install and sync Espanso config on a new Mac

  1. Download and install Espanso: https://espanso.org/install/
  2. Type :espanso in a text field of any app to make sure that espanso is running.
  3. Sync your espanso folder from cloud storage to locally on your Mac.
    • In my case, the location is (this location is written in a way that it's only supposed to make sense to me): Dropbox_mejain1989@gmail/espanso/
  4. Run this command in Terminal: espanso path config.
    Keep the path handy except the last /espanso/ part at the end. For e.g.
    • If command printed /Users/nancy/Library/Application Support/espanso, then just remember /Users/nancy/Library/Application Support/.
  5. Stop espanso running in background: espanso stop
  6. Delete default espanso/ folder created during installation (which is located at /Users/nancy/Library/Application Support/ as printed in Step-4).
  7. Now create a symbolic link at Espanso's default location pointing to folder kept in Cloud Storage.
    • In my case the command looks like this: ln -s "/Users/nancy/Insync/me.jain1989@gmail.com/Dropbox/espanso/" "/Users/nancy/Library/Application Support
      /"
  8. Now restart espanso and try a shortcut stored in your espanso on Dropbox.
    • In my case, I try this with :dropbox which only works if above setup if working correctly.

Espanso Forms

Using Espanso Forms feature to take dynamic input for variables inserted in prompts.

To be done.

 

Related post