Copy & Export Triggers as YAML

What it does

Take one or more triggers and hand them off — either to the clipboard for an instant paste, or to a file for long-term storage or sharing.

Both flows produce identical Blue Synergy YAML that any other Blue Synergy installation can import.

Copy to clipboard

  1. Select a trigger (or Ctrl+click to select multiple).
  2. Click Copy as YAML in the toolbar, or use Edit → Copy as YAML.
  3. The YAML is now on your clipboard.
  4. On another machine (or in the same install), press Ctrl+V in the Triggers workspace to import.

Best for: quick share in chat, paste into a wiki, or teammate-to-teammate transfer.

Export to a file

  1. Select triggers (or a filter/tree node — see below).
  2. Click Export YAML in the toolbar or use File → Export Blue Synergy YAML….
  3. A native Save dialog appears with a smart default filename:
    • Single trigger: bs-trigger-<keyword>.yaml
    • Filtered set / selection / all: bs-triggers-<scope>-<count>-YYYYMMDD.yaml
  4. Pick a location, save, and you’re done.

Best for: version control, long-term snapshots, email attachments, backup of a curated Pack.

Export scope shortcuts

Right-click a sidebar node (Category, App Profile, or Tag) to Export YAML every trigger matching that filter — no manual selection needed. The same context menu also offers Delete all matching with a confirmation guard.

Format

Each trigger is serialised under a bs_trigger: key in Blue Synergy’s internal YAML format. Multi-trigger copies produce a list under the same key.

bs_trigger:
  keyword: ";greet"
  description: "Greeting template"
  steps:
    - type: TXT
      data: "Hello, {clip:last}!"

Import

  • Single trigger — created immediately, no dialog
  • Multiple triggers — opens the import preview dialog; review before confirming
  • The importer also accepts espanso-compatible YAML (triggers: key) — see YAML Import

Notes

  • Vault-encrypted trigger steps are not exportable via YAML — their content is masked.
  • Trigger metadata (app profile, typing mode, erase method) is included in the export.