# custom bang (derived from trovu) # example !tr en es hello world # the * means accepts everything after it, including spaces/Users/eric/.config/espanso/match/accents.yml tr from to content*: url: https://translate.google.com/?sl={from}&tl={to}&text={content}&op=translate # ^ means that uses the mapping notion ^page: page: hw: homework-b859835adb2a4d339ffecc7184f71d73 notes: math-21-notes-004893c47d3b42c3a7e9cce4c3feeda2 url: https://www.notion.so/username/{page} # rewriting urls: - from: ^old.reddit.com to: www.reddit.com options: match-scheme: false # ignore the https?:// part when matching # rewriting queries - match: home replace: Boston, MA - match: tre\((\w+)\) translate: from: any to: english