Default to :session for org mode source blocks? reddit / emacs ---------------------------------------------------------------------- avindroth · 2022-11-14 12:45 I use C-c C-, to insert source block. I would like to have it such that every source block has :session on it by default; how would I get that to be? Would some kind of advice be appropriate here? ---------------------------------------------------------------------- Illiamen · 2022-11-14 13:06 Use `#+property:` in the the file or `:properties:` immediately under a heading to specify header args. Using the inherited properties, you can easily specify that every SRC block should use the same session. See here: https://org-babel.readthedocs.io/en/latest/header-args/ ---------------------------------------------------------------------- hajovonta · 2022-11-14 19:56 I use yasnippet for this purpose. You can define any number of snippets in any configuration you want.