home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 89dd7f06cf679e2a14fa3306c4f9c848a54bfebf
parent a4555228719ceba1b7874b43b660ea304c94ec5f
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Mon, 30 Nov 2020 10:31:24 +0100

tools/emacs: update some auto-insert

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-org.el | 4+++-
Atools/emacs/default.nix | 1+
Atools/emacs/etc/eshell/aliases | 3+++
3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/tools/emacs/config/config-org.el b/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)) diff --git a/tools/emacs/default.nix b/tools/emacs/default.nix @@ -0,0 +1 @@ + diff --git a/tools/emacs/etc/eshell/aliases b/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 $*