doom-config/snippets/org-mode/header args/S

7 lines
186 B
Plaintext

# -*- mode: snippet -*-
# key: S
# name: header arg - session
# condition: (~/yas-org-src-header-p)
# --
:session "${1:`(file-name-base (or (buffer-file-name) "unnnamed"))`-session}" $0