Skip to content

Instantly share code, notes, and snippets.

@smeech
Last active January 31, 2025 16:09
Show Gist options
  • Select an option

  • Save smeech/c20ae25b5610440c31c2667ab83d73f9 to your computer and use it in GitHub Desktop.

Select an option

Save smeech/c20ae25b5610440c31c2667ab83d73f9 to your computer and use it in GitHub Desktop.
[Injection methods] Tests for Espanso clipboard & inject (keys) injection methods #espanso
matches:
- trigger: :testclip
replace: something
force_mode: clipboard
# If this one works, you'll probably need an app-specific configuration
# for the filter_class:, _exec: or _title: (in that order of preference)
# specifying "backend: clipboard"
- trigger: :testinject
replace: something
force_mode: keys
# If this one works, you'll probably need an app-specific configuration
# for the filter_class:, _exec: or _title: (in that order of preference)
# specifying "backend: inject"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment