diff --git a/espanso/match/base.yml b/espanso/match/base.yml index 16bdd3f..e4bcfca 100644 --- a/espanso/match/base.yml +++ b/espanso/match/base.yml @@ -33,3 +33,10 @@ matches: [^{{id}}] [^{{id}}]: {{form.author}} ({{year}}): {{form.title}}, <{{clipboard}}>. + + - trigger: ":y" + label: Youtube-Shortlink + vars: + - name: "clipboard" + type: "clipboard" + replace: "https://youtu.be/{{clipboard}}" diff --git a/espanso/match/datetime.yml b/espanso/match/datetime.yml index 68c2ad9..ded9a21 100644 --- a/espanso/match/datetime.yml +++ b/espanso/match/datetime.yml @@ -1,4 +1,12 @@ matches: + - trigger: ":std" + label: Stunden + replace: "Stunden" + + - trigger: ":min" + label: Minuten + replace: "Minuten" + - trigger: ":dat" label: Datum (DD.MM.YYYY) replace: "{{current_date}}" diff --git a/espanso/match/development.yml b/espanso/match/development.yml new file mode 100644 index 0000000..7ddc141 --- /dev/null +++ b/espanso/match/development.yml @@ -0,0 +1,46 @@ +matches: + - label: HTML nofollow noopener noreferrer blank + replace: 'rel="nofollow noopener noreferrer external" target="_blank"' + + - label: Dummy Image + replace: "https://dummyimage.com/800x600/333333/7d7d7d" + + - label: ESLint (global install) + replace: "npm install -g eslint babel-eslint eslint-plugin-babel eslint-plugin-chai eslint-plugin-chai-expect eslint-plugin-flowtype eslint-plugin-html eslint-plugin-jsdoc eslint-plugin-json eslint-plugin-jsx eslint-plugin-jsx-extras eslint-plugin-lodash eslint-plugin-node eslint-plugin-react eslint-plugin-prettier eslint-config-prettier eslint-plugin-import eslint-config-semistandard eslint-config-standard eslint-plugin-promise eslint-plugin-standard" + + - label: Yarn Deduplicate + replace: "npx yarn-deduplicate --list yarn.lock && yarn" + + - label: "BrowserSync: Monitor server and files" + replace: 'browser-sync start --proxy localhost:3000 --files "app/**" --directory' + + - label: "BrowserSync: Server (current directory)" + replace: "browser-sync start --server --directory" + + - label: "BrowserSync: Monitor proxy and files" + replace: 'browser-sync start --proxy localhost:3000 --files "app/**"' + + - label: .gitconfig (Backup) + replace: "cp ~/.gitconfig.local ~/Dropbox/Software/Dotfiles/gitconfig.local" + + - label: .gitconfig (Restore) + replace: "cp ~/Dropbox/Software/Dotfiles/gitconfig.local ~/.gitconfig.local" + + - label: .localrc Home (Backup) + replace: "cp ~/.localrc ~/Dropbox/Software/Dotfiles/localrc-home" + + - label: .localrc Home (Restore) + replace: "cp ~/Dropbox/Software/Dotfiles/localrc-home ~/.localrc" + + - label: .localrc Work (Backup) + replace: "cp ~/.localrc ~/Dropbox/Software/Dotfiles/localrc-work" + + - label: .localrc Work (Restore) + replace: "cp ~/Dropbox/Software/Dotfiles/localrc-work ~/.localrc" + + - trigger: ":proposal:" + label: "Shell: Leeres Script" + replace: | + #!/bin/bash + + # $|$ diff --git a/espanso/match/note-taking.yml b/espanso/match/note-taking.yml new file mode 100644 index 0000000..b19a0c5 --- /dev/null +++ b/espanso/match/note-taking.yml @@ -0,0 +1,25 @@ +matches: + - trigger: ":oa" + label: Obsidian Aliases + replace: | + --- + aliases: [$|$] + --- + + - trigger: ":id" + label: Zettel ID (Timestamp) + vars: + - name: current_time + type: date + params: + format: "%Y%m%d%H%M" + replace: "{{current_time}}" + + - trigger: ":z" + label: Zettelkasten-Template + replace: | + $|$ + + ## Verwandte Links + + Tags: #BOAT diff --git a/espanso/match/typography.yml b/espanso/match/typography.yml index b68158e..e180ce4 100644 --- a/espanso/match/typography.yml +++ b/espanso/match/typography.yml @@ -65,3 +65,9 @@ matches: - trigger: ":x:" label: Multiplikationszeichen replace: "×" + + - label: Ascii Border Box + replace: | + ╭─────╮ + │ $|$ │ + ╰─────╯ diff --git a/private/espanso b/private/espanso index a732148..75db179 160000 --- a/private/espanso +++ b/private/espanso @@ -1 +1 @@ -Subproject commit a7321485758e7edf63f91cb8ee022903990cda08 +Subproject commit 75db179d47c45e68e2ae68116addd18cb348f894