Commit 89dd7f06cf67

Vincent Demeester <vincent@sbr.pm>
2020-11-30 10:31:24
tools/emacs: update some auto-insert
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent a455522
Changed files (3)
tools
tools/emacs/config/config-org.el
@@ -55,12 +55,14 @@
     "new www post"
     nil
     > "#+title: " (skeleton-read "Title: ") \n
-    > "#+date: " (format-time-string "<%Y-%M-%d %a>") \n
+    > "#+date: " (format-time-string "<%Y-%m-%d %a>") \n
     > "#+filetags: " (skeleton-read "Tags: ") \n
     > "#+setupfile: ../templates/post.org" \n
     > _ \n
     > "* Introduction"
     )
+  (define-auto-insert '("/posts/.*\\.org\\'" . "blog post org files") [vde/org-www-post])
+  (define-auto-insert '("/posts/.*\\.draft\\'" . "blog post draft files") [vde/org-www-post])
   ;; Org Babel configurations
   (when (file-exists-p org-babel-library-file)
     (org-babel-lob-ingest org-babel-library-file))
tools/emacs/etc/eshell/aliases
@@ -0,0 +1,3 @@
+alias l exa --color=always -lah $*
+alias ll exa --color=always -l $*
+alias ls exa --color=always $*
tools/emacs/default.nix
@@ -0,0 +1,1 @@
+