diff options
Diffstat (limited to 'snippets/text-mode')
-rw-r--r-- | snippets/text-mode/cdate | 4 | ||||
-rw-r--r-- | snippets/text-mode/date | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/snippets/text-mode/cdate b/snippets/text-mode/cdate new file mode 100644 index 0000000..ad32367 --- /dev/null +++ b/snippets/text-mode/cdate @@ -0,0 +1,4 @@ +# -*- mode: snippet -*- +# key: cdate +# -- +`(yas-with-comment (concat " " (format-time-string "%Y-%m-%d")))` diff --git a/snippets/text-mode/date b/snippets/text-mode/date new file mode 100644 index 0000000..8bc5ce1 --- /dev/null +++ b/snippets/text-mode/date @@ -0,0 +1,4 @@ +# -*- mode: snippet -*- +# key: date +# -- +`(format-time-string "%Y-%m-%d")`$0 |