emacs: Switch to tempel for snippets

This commit is contained in:
Charlotte Van Petegem 2023-08-01 22:45:23 +02:00
parent 762ec66b84
commit bf6179ffe8
No known key found for this signature in database
GPG key ID: 019E764B7184435A
9 changed files with 67 additions and 77 deletions

View file

@ -0,0 +1,6 @@
fundamental-mode
(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))))