39 lines
958 B
YAML
39 lines
958 B
YAML
# espanso match file
|
|
|
|
# For a complete introduction, visit the official docs at: https://espanso.org/docs/
|
|
|
|
# You can use this file to define the base matches (aka snippets)
|
|
# that will be available in every application when using espanso.
|
|
|
|
# Matches are substitution rules: when you type the "trigger" string
|
|
# it gets replaced by the "replace" string.
|
|
global_vars:
|
|
|
|
matches:
|
|
- trigger: ":date"
|
|
replace: "{{mydate}}"
|
|
vars:
|
|
- name: mydate
|
|
type: date
|
|
params:
|
|
format: "%Y-%m-%d"
|
|
word: true
|
|
|
|
- trigger: ":dt"
|
|
replace: "{{mytime}}"
|
|
vars:
|
|
- name: mytime
|
|
type: date
|
|
params:
|
|
format: "%Y-%m-%d %H:%M"
|
|
word: true
|
|
|
|
- trigger: ":time"
|
|
replace: "{{mytime}}"
|
|
vars:
|
|
- name: mytime
|
|
type: date
|
|
params:
|
|
format: "%H:%M"
|
|
|
|
# And much more! For more information, visit the docs: https://espanso.org/docs/ |