diff options
| author | Daniel <[email protected]> | 2024-05-06 16:29:44 -0400 |
|---|---|---|
| committer | Daniel <[email protected]> | 2024-05-06 16:29:44 -0400 |
| commit | 48d10e555ddd4ba35573792bb77a7ab6f104cada (patch) | |
| tree | 31786d16db31c0adb41867f34a5cd1315e1c65c7 | |
| parent | b23f9b56bdb2561756e1aa0222c40609c8aaf22e (diff) | |
snippets file
| -rw-r--r-- | tempel-snippets.el | 6 |
1 files changed, 6 insertions, 0 deletions
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)))) |
