diff --git a/.config/espanso/match/base.yml b/.config/espanso/match/base.yml index aaacac7a..d23e684f 100644 --- a/.config/espanso/match/base.yml +++ b/.config/espanso/match/base.yml @@ -110,10 +110,6 @@ matches: force_clipboard: true replace: "else {}" - - trigger: ";$" - force_clipboard: true - replace: "`${}`" - - trigger: ";do" force_clipboard: true replace: "do {} while ()" @@ -167,6 +163,10 @@ matches: force_clipboard: true replace: "console.warn('WARNING :=>', )" + - trigger: ";$" + force_clipboard: true + replace: "$$ $$" + - trigger: "; " @@ -343,6 +343,17 @@ matches: params: cmd: "~/scripts/html5 ; echo ''" + # returns default react layout + - trigger: ";rfc" + force_clipboard: true + replace: "{{output}}" + vars: + - name: output + type: shell + params: + cmd: "~/scripts/react ; echo ''" + + # returns default vue layout - trigger: ";vue" force_clipboard: true