[Org] Add header snippet
This commit is contained in:
parent
d3e504666f
commit
c3b1c4b249
11
.config/emacs/private/snippets/org-mode/header
Normal file
11
.config/emacs/private/snippets/org-mode/header
Normal 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
|
Loading…
Reference in New Issue
Block a user