+;;; package --- myhydras
+;;; Author:Justin Kaipada
+;;; Commentary:
+;;; This is the file that contains all my hydras
+;;; Code:
+
 (global-set-key
  (kbd "C-c C-v")
  (defhydra hydra-toggle-stuff ()


(defun hot-expand (str &optional mod header)
  "Expand org template.

STR is a structure template string recognised by org like <s. MOD is a
string with additional parameters to add the begin line of the
structure element. HEADER string includes more parameters that are
prepended to the element after the #+HEADER: tag."
  (let (text)
    (when (region-active-p)
      (setq text (buffer-substring (region-beginning) (region-end)))

      (if (or (region-active-p) (looking-back "^"))
	  (hydra-org-template/body)
	(self-insert-command 1)))))
(eval-after-load "org"
  '(cl-pushnew
    '("not" "#+BEGIN_NOTES\n?\n#+END_NOTES")
    org-structure-template-alist))

;;; myhydras.el ends here
