shared files for the espanso text expansion application
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 67 lines 1.6 kB view raw
1# espanso match file 2 3# For a complete introduction, visit the official docs at: https://espanso.org/docs/ 4 5# You can use this file to define the base matches (aka snippets) 6# that will be available in every application when using espanso. 7 8# Matches are substitution rules: when you type the "trigger" string 9# it gets replaced by the "replace" string. 10 11# yaml-language-server: $schema=https://raw.githubusercontent.com/espanso/espanso/dev/schemas/match.schema.json 12 13matches: 14 # Simple text replacement 15 #- trigger: ":espanso" 16 # replace: "Hi there!" 17 18 # NOTE: espanso uses YAML to define matches, so pay attention to the indentation! 19 20 # But matches can also be dynamic: 21 22 # Print the current date 23 #- trigger: ":date" 24 # replace: "{{mydate}}" 25 # vars: 26 # - name: mydate 27 # type: date 28 # params: 29 # format: "%m/%d/%Y" 30 31 # Print the output of a shell command 32 #- trigger: ":shell" 33 # replace: "{{output}}" 34 # vars: 35 # - name: output 36 # type: shell 37 # params: 38 # cmd: "echo 'Hello from your shell'" 39 40 # And much more! For more information, visit the docs: https://espanso.org/docs/ 41 # 42 43 # Print the current date 44 - trigger: ":date" 45 replace: "{{mydate}}" 46 vars: 47 - name: mydate 48 type: date 49 params: 50 format: "%Y-%m-%d" 51 52 # Print the current time 53 - trigger: ":time" 54 replace: "{{mytime}}" 55 vars: 56 - name: mytime 57 type: date 58 params: 59 format: "%H:%M" 60 61 - trigger: ":isotime" 62 replace: "{{isotime}}" 63 vars: 64 - name: isotime 65 type: date 66 params: 67 format: "%Y-%m-%d %H:%M:%S"