News for hackers. Stuff that matters.
Re:Ask HN: What Is Your Problem? by jo_beef on Wednesday June 08, 2022 @11:04AM (#31668396)
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.

There are no comments on this comment yet.