Create binding to add arguments to org babel block

1 · Shane Mulligan · June 7, 2020, 4 p.m.
Make a keybinding that adds CLI arguments 1 2 3 4 5 6 7 8 9 10 (defun org-babel-change-block-type () (interactive) (if (or (org-in-src-block-p) (org-in-block-p '("src" "example" "verbatim" "clocktable"))) (progn (call-interactively 'org-babel-raise) (call-interactively 'hydra-org-template/body)) (self-insert-command 1))) (define-key org-mode-map (kbd "M-.") 'org-babel-change-block-type) 1 (org-babel-insert-header-arg "args" (read "arguments:")) 1 2 3 4 5 6 (defun org-babel-add-src-args ()...