dotfiles/.config/espanso/match/base.yml
Guilherme Rugai Freire f90d973718
espanso: update config
2024-07-10 14:29:52 -03:00

28 lines
812 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.
# yaml-language-server: $schema=https://raw.githubusercontent.com/espanso/espanso/dev/schemas/match.schema.json
matches:
# Simple text replacement
- trigger: ":espanso"
replace: "Hi there!"
# Print the current date
- trigger: ":date"
replace: "{{date_str}}"
vars:
- name: date_str
type: date
params:
format: "%d/%m/%Y"
# And much more! For more information, visit the docs: https://espanso.org/docs/