Config and setup files

add espanso config

finxol.io 5662c8d5 d4c9f019

verified
Changed files
+77
espanso
config
match
+40
espanso/config/default.yml
··· 1 + # espanso configuration 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 global configuration options for espanso. 6 + # These are the parameters that will be used by default on every application, 7 + # but you can also override them on a per-application basis. 8 + 9 + # To make customization easier, this file contains some of the commonly used 10 + # parameters. Feel free to uncomment and tune them to fit your needs! 11 + 12 + # --- Toggle key 13 + 14 + # Customize the key used to disable and enable espanso (when double tapped) 15 + # Available options: CTRL, SHIFT, ALT, CMD, OFF 16 + # You can also specify the key variant, such as LEFT_CTRL, RIGHT_SHIFT, etc... 17 + # toggle_key: ALT 18 + # You can also disable the toggle key completely with 19 + # toggle_key: OFF 20 + 21 + # --- Injection Backend 22 + 23 + # Espanso supports multiple ways of injecting text into applications. Each of 24 + # them has its quirks, therefore you may want to change it if you are having problems. 25 + # By default, espanso uses the "Auto" backend which should work well in most cases, 26 + # but you may want to try the "Clipboard" or "Inject" backend in case of issues. 27 + # backend: Clipboard 28 + 29 + # --- Auto-restart 30 + 31 + # Enable/disable the config auto-reload after a file change is detected. 32 + # auto_restart: false 33 + 34 + # --- Clipboard threshold 35 + 36 + # Because injecting long texts char-by-char is a slow operation, espanso automatically 37 + # uses the clipboard if the text is longer than 'clipboard_threshold' characters. 38 + # clipboard_threshold: 100 39 + 40 + # For a list of all the available options, visit the official docs at: https://espanso.org/docs/
+37
espanso/match/base.yml
··· 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 + matches: 11 + # Simple text replacement 12 + - trigger: ":espanso" 13 + replace: "Hi there!" 14 + 15 + # NOTE: espanso uses YAML to define matches, so pay attention to the indentation! 16 + 17 + # But matches can also be dynamic: 18 + 19 + # Print the current date 20 + - trigger: ":date" 21 + replace: "{{mydate}}" 22 + vars: 23 + - name: mydate 24 + type: date 25 + params: 26 + format: "%m/%d/%Y" 27 + 28 + # Print the output of a shell command 29 + - trigger: ":shell" 30 + replace: "{{output}}" 31 + vars: 32 + - name: output 33 + type: shell 34 + params: 35 + cmd: "echo 'Hello from your shell'" 36 + 37 + # And much more! For more information, visit the docs: https://espanso.org/docs/