There are lots of different ways you can do it. I use yasnippets (for more than just org) and I have a header template that I use so I just type "hd_<tab>" and get a pre-made header with some settings for code snippets that I write a lot:
❯ =cat ~/.emacs.d/snippets/org-mode/header # -*- mode: snippet -*- # name: header # key: hd_ # -- #+TITLE: $1 #+STARTUP: showall #+OPTIONS: toc:nil ^:{} #+LATEX_HEADER_EXTRA: \usepackage{minted} #+LATEX_HEADER_EXTRA: \usepackage[svgnames]{xcolor} #+LATEX_HEADER_EXTRA: \setminted{linenos=true,frame=lines,bgcolor=Beige,bgcolorpadding=0.5em} I don't know if there's anything org-specific that's similar. Cheers, Derek On Tue, Jun 3, 2025 at 6:45 AM Ashish Panigrahi <pub...@ashishpanigrahi.com> wrote: > Hi, > > I was wondering if there is an automated way of inserting metadata (like > a message dialog similar to `org-insert-link' command. For now I > manually type out "#+title, #+date" etc. in my org files. > > Would be interesting to hear other workflows for this. > > Kind regards, > Ashish > > -- +---------------------------------------------------------------+ | Derek Chen-Becker | | GPG Key available at https://keybase.io/dchenbecker and | | https://pgp.mit.edu/pks/lookup?search=derek%40chen-becker.org | | Fngrprnt: EB8A 6480 F0A3 C8EB C1E7 7F42 AFC5 AFEE 96E4 6ACC | +---------------------------------------------------------------+