dotfiles/.config/emacs/private/snippets/org-mode/header

11 lines
313 B
Plaintext

# -*- 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