From 4e3c27835fced3d8b4970c69d4a4d42e4a63dba9 Mon Sep 17 00:00:00 2001 From: Kristof Molnar-Tatai Date: Tue, 1 Sep 2020 11:48:28 +0200 Subject: [PATCH] current-date in fundamental-mode Inspired by Karl Voit's (https://github.com/novoid) blog post (https://karl-voit.at/2016/12/18/org-depend/). It simply inserts the current date in YYYY-MM-DD bound to 'dd' Found no conflict with other bindigs. --- snippets/fundamental-mode/current-date | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 snippets/fundamental-mode/current-date diff --git a/snippets/fundamental-mode/current-date b/snippets/fundamental-mode/current-date new file mode 100644 index 000000000..6657b8502 --- /dev/null +++ b/snippets/fundamental-mode/current-date @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: current-date +# key: dd +# contributor : Kristof Molnar-Tatai +# -- +`(format-time-string "%Y-%m-%d")` \ No newline at end of file