[Org] Add header snippet

This commit is contained in:
Lucien Cartier-Tilet 2020-08-25 06:00:19 +02:00
parent d3e504666f
commit c3b1c4b249
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -0,0 +1,11 @@
# -*- mode: snippet -*-
# name: header
# key: header
# --
#+TITLE: ${1:`(replace-regexp-in-string "-" " " (capitalize (file-name-nondirectory (file-name-sans-extension (buffer-file-name)))))`}
#+AUTHOR: `(user-full-name)`
#+EMAIL: `user-mail-address`
#+DATE: `(format-time-string "%Y-%m-%d")`
#+TAGS: $2
$0