Hacker News new | ask | show | jobs
by jo_beef 1471 days ago
There's a program for this, https://espanso.org/ You can add some trigger words in the YAML file.

for example :

    - trigger: ":date"
      replace: "{{mydate}}"
      vars:
        - name: mydate
          type: date
          params:
            format: "%m/%d/%Y"
If I type : date (without the space) it would automatically convert it to 06/08/2022. It's pretty cool.

I also found this one https://www.autohotkey.com/ but I haven't tried it yet.