diff --git a/.config/espanso/match/base.yml b/.config/espanso/match/base.yml index f851fffc..7058232b 100644 --- a/.config/espanso/match/base.yml +++ b/.config/espanso/match/base.yml @@ -310,6 +310,16 @@ matches: params: cmd: "~/scripts/html5 ; echo ''" + # returns default vue layout + - trigger: ";vue" + force_clipboard: true + replace: "{{output}}" + vars: + - name: output + type: shell + params: + cmd: "~/scripts/vue ; echo ''" + # returns default html5 layout - trigger: ";php" force_clipboard: true diff --git a/scripts/vue b/scripts/vue new file mode 100755 index 00000000..060e360c --- /dev/null +++ b/scripts/vue @@ -0,0 +1,14 @@ +#!/usr/bin/env bash +# Utilize in conjunction with espanso, call ;vue +cat < + + + + + +EOM \ No newline at end of file