]> git.donarmstrong.com Git - lib.git/blobdiff - emacs_el/configuration/don-hydra.el
use-package with polymode
[lib.git] / emacs_el / configuration / don-hydra.el
index 6eec45f1e89df9e64da79f56ec218bc87fbf2739..64c7363ab6acecd7436d890e0ff3132026260489 100644 (file)
@@ -1,5 +1,6 @@
 
 (require 'hydra)
+(require 'outline)
 
 ;; org mode files
 (defhydra my/hydra-orgmodes (:color blue :hint nil)
@@ -7,6 +8,7 @@
 _n_: notes _c_: chaim _w_: wildman _o_: ool
 _u_: uddin _s_: steve _r_: refile  _f_: fh    
 _p_: read papers      _R_: paper notes
+_h_: hpcbio
 _q_: quit
 _z_: quit
 "
@@ -20,6 +22,7 @@ _z_: quit
   ("r" (find-file "~/projects/org-notes/refile.org"))
   ("p" (find-file "~/projects/research/papers_to_read.org"))
   ("R" (find-file "~/projects/research/paper_notes.org"))
+  ("h" (find-file "~/projects/org-notes/hpcbio.org"))
   ("q" nil "quit")
   ("z" nil "quit")
   )
@@ -62,3 +65,6 @@ _d_: subtree
   ("z" nil "leave"))
 
 (global-set-key (kbd "C-c #") 'my/hydra-outline/body) ; by example
+(global-set-key (kbd "C-c 3") 'my/hydra-outline/body) ; by example
+
+(provide 'don-hydra)