mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(espanso): add a basic setup for snippets with Espanso
This commit is contained in:
12
espanso/match/datetime.yml
Normal file
12
espanso/match/datetime.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
matches:
|
||||
- trigger: ":ddt"
|
||||
replace: "datetime"
|
||||
|
||||
# Print the current date
|
||||
- trigger: ":date"
|
||||
replace: "{{mydate}}"
|
||||
vars:
|
||||
- name: mydate
|
||||
type: date
|
||||
params:
|
||||
format: "%m/%d/%Y"
|
||||
Reference in New Issue
Block a user