From 79dd16c9ad411841e5184a7470953110e0296a01 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 23 Dec 2024 11:39:34 -0600 Subject: added espanso config --- .config/espanso/config/default.yml | 40 ++++++++++++++++++++++++++++++++++++++ .config/espanso/match/base.yml | 36 ++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 .config/espanso/config/default.yml create mode 100644 .config/espanso/match/base.yml (limited to '.config') diff --git a/.config/espanso/config/default.yml b/.config/espanso/config/default.yml new file mode 100644 index 0000000..4f52b02 --- /dev/null +++ b/.config/espanso/config/default.yml @@ -0,0 +1,40 @@ +# espanso configuration file + +# For a complete introduction, visit the official docs at: https://espanso.org/docs/ + +# You can use this file to define the global configuration options for espanso. +# These are the parameters that will be used by default on every application, +# but you can also override them on a per-application basis. + +# To make customization easier, this file contains some of the commonly used +# parameters. Feel free to uncomment and tune them to fit your needs! + +# --- Toggle key + +# Customize the key used to disable and enable espanso (when double tapped) +# Available options: CTRL, SHIFT, ALT, CMD, OFF +# You can also specify the key variant, such as LEFT_CTRL, RIGHT_SHIFT, etc... +# toggle_key: ALT +# You can also disable the toggle key completely with +# toggle_key: OFF + +# --- Injection Backend + +# Espanso supports multiple ways of injecting text into applications. Each of +# them has its quirks, therefore you may want to change it if you are having problems. +# By default, espanso uses the "Auto" backend which should work well in most cases, +# but you may want to try the "Clipboard" or "Inject" backend in case of issues. +# backend: Clipboard + +# --- Auto-restart + +# Enable/disable the config auto-reload after a file change is detected. +# auto_restart: false + +# --- Clipboard threshold + +# Because injecting long texts char-by-char is a slow operation, espanso automatically +# uses the clipboard if the text is longer than 'clipboard_threshold' characters. +# clipboard_threshold: 100 + +# For a list of all the available options, visit the official docs at: https://espanso.org/docs/ \ No newline at end of file diff --git a/.config/espanso/match/base.yml b/.config/espanso/match/base.yml new file mode 100644 index 0000000..477e1a3 --- /dev/null +++ b/.config/espanso/match/base.yml @@ -0,0 +1,36 @@ +# 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. +matches: + # Simple text replacement + - trigger: ":espanso" + replace: "Hi there!" + # Wired Guide URLS + - trigger: ":pad" + replace: "https://www.wired.com/story/best-sleeping-pads/" + - trigger: ":bag" + replace: "https://www.wired.com/story/the-best-sleeping-bags-for-every-adventure/" + - trigger: ":tent" + replace: "https://www.wired.com/story/best-camping-tents/" + - trigger: ":cof" + replace: "https://www.wired.com/gallery/best-coffee-subscriptions/" + - trigger: ":mer" + replace: "https://wired.com/story/best-merino-wool-clothes" + - trigger: ":print" + replace: "https://wired.com/story/best-photo-printing-services" + - trigger: ":stove" + replace: "https://wired.com/gallery/best-camping-stoves" + + - trigger: ":ship" + replace: "Scott Gilbertson\nYellow Cabin\n78800 Bodin Rd\nWashburn WI 54891\n706 438 4297" + - trigger: ":sig" + replace: "cheers\nScott Gilbertson\n--\n\n\n" + - trigger: ":box" + replace: "PO BOX 551\nWashburn, WI 54891-0551\n706 438 4297" +... -- cgit v1.2.3-70-g09d2