51 lines
1 KiB
YAML
51 lines
1 KiB
YAML
# espanso configuration file
|
|
|
|
# This is the default configuration file, change it as you like it
|
|
# You can refer to the official documentation:
|
|
# https://espanso.org/docs/
|
|
|
|
# disable search bar
|
|
search_shortcut: OFF
|
|
search_trigger: OFF
|
|
toggle_key: OFF
|
|
|
|
# Matches are the substitution rules, when you type the "trigger" string
|
|
# it gets replaced by the "replace" string.
|
|
matches:
|
|
# Simple text replacement
|
|
- trigger: ":espanso"
|
|
replace: "Hi there!"
|
|
|
|
# Dates
|
|
- trigger: ":date"
|
|
replace: "{{mydate}}"
|
|
vars:
|
|
- name: mydate
|
|
type: date
|
|
params:
|
|
format: "%m/%d/%Y"
|
|
|
|
# Shell commands
|
|
- trigger: ":shell"
|
|
replace: "{{output}}"
|
|
vars:
|
|
- name: output
|
|
type: shell
|
|
params:
|
|
cmd: "echo Hello from your shell"
|
|
|
|
- trigger: ":gml"
|
|
replace: "ccochrun21@gmail.com"
|
|
|
|
- trigger: ":otl"
|
|
replace: "chris.cochrun@outlook.com"
|
|
|
|
- trigger: ":tfcml"
|
|
replace: "chris@tfcconnection.org"
|
|
|
|
- trigger: ":name"
|
|
replace: "Chris Cochrun"
|
|
|
|
- trigger: ":cn"
|
|
replace: "A Giant Gummy Lizard"
|