summaryrefslogtreecommitdiff
path: root/snippets
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-03-25 00:43:04 -0400
committerKyle Meyer <kyle@kyleam.com>2014-03-25 00:51:06 -0400
commit41407376f051cd2898fb2a7efaa8778d9365722d (patch)
tree7841ae60dbde65c8d4172085615049d9ce21d391 /snippets
parenta0c1aa44d778782e05a0681de4bad4979537a001 (diff)
downloademacs.d-41407376f051cd2898fb2a7efaa8778d9365722d.tar.gz
Remove a few functions the are covered by snippets
Diffstat (limited to 'snippets')
-rw-r--r--snippets/text-mode/cdate4
-rw-r--r--snippets/text-mode/date4
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