Skip to content

Instantly share code, notes, and snippets.

@heikkil
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save heikkil/d79445c345e55e3cc3b5 to your computer and use it in GitHub Desktop.
Save heikkil/d79445c345e55e3cc3b5 to your computer and use it in GitHub Desktop.
Additions to org template hydra at http://oremacs.com/2015/03/07/hydra-org-templates/
"
_c_enter _q_uote _e_macs-lisp _L_aTeX:
_l_atex _e_xample _p_erl _i_ndex:
_a_scii _v_erse _P_erl tangled _I_NCLUDE:
_s_rc ^ ^ plant_u_ml _H_TML:
_h_tml ^ ^ ^ ^ _A_SCII:
"
("e" (progn (hot-expand "<s") (insert "emacs-lisp") (forward-line)))
("p" (progn (hot-expand "<s") (insert "perl") (forward-line)))
("u" (progn (hot-expand "<s") (insert "plantuml :file CHANGE.png") (forward-line)))
("P" (progn
(insert "#+HEADERS: :results output :exports both :shebang \"#!/usr/bin/env perl\"\n")
(hot-expand "<s")
(insert "perl")
(forward-line)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment