From 48d10e555ddd4ba35573792bb77a7ab6f104cada Mon Sep 17 00:00:00 2001 From: Daniel <89086143+BardofSprites@users.noreply.github.com> Date: Mon, 6 May 2024 16:29:44 -0400 Subject: snippets file --- tempel-snippets.el | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tempel-snippets.el (limited to 'tempel-snippets.el') diff --git a/tempel-snippets.el b/tempel-snippets.el new file mode 100644 index 0000000..cde986b --- /dev/null +++ b/tempel-snippets.el @@ -0,0 +1,6 @@ +fundamental-mode ;; Available everywhere + +(today (format-time-string "%Y-%m-%d")) +(NOW (format-time-string "<%Y-%0m-%0d %a %H:%0M>")) +(yesterday (format-time-string "<%Y-%0m-%0d %a>" (time-subtract nil (* 24 60 60)))) +(tomorrow (format-time-string "<%Y-%0m-%0d %a>" (time-add nil (* 24 60 60)))) -- cgit v1.2.3