Converting from f12 to f6

As the F12 adjusts the volume on a Mac. Sheesh.
This commit is contained in:
Howard Abrams 2022-02-18 15:31:37 -08:00
parent 8b89bf665b
commit 71777f5792
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
The overlap between Emacs and running a Dungeons & Dragons campaign is... expected? Jotting notes and plans in an org-mode file has been great, but what if, during a game session, my notes became /more interactive/? I started creating some helper functions, which has now become a minor mode I use as a sort of layer on top of Org. Let's blame this insanity on the pandemic, but it has been fun. The overlap between Emacs and running a Dungeons & Dragons campaign is... expected? Jotting notes and plans in an org-mode file has been great, but what if, during a game session, my notes became /more interactive/? I started creating some helper functions, which has now become a minor mode I use as a sort of layer on top of Org. Let's blame this insanity on the pandemic, but it has been fun.
The primary interface is =f12= which calls up a /sticky/ Hydra to call my functions, but still allowing full cursor movement (mostly): The primary interface is =f6= which calls up a /sticky/ Hydra to call my functions, but still allowing full cursor movement (mostly):
#+attr_html: :width 800px #+attr_html: :width 800px
[[file:images/screenshot-of-hydra.png]] [[file:images/screenshot-of-hydra.png]]

View file

@ -38,7 +38,7 @@
"Minor mode for layering role-playing game master functions over your notes." "Minor mode for layering role-playing game master functions over your notes."
:lighter " D&D" :lighter " D&D"
:keymap (let ((map (make-sparse-keymap))) :keymap (let ((map (make-sparse-keymap)))
(define-key map (kbd "<f12>") 'hydra-rpgdm/body) (define-key map (kbd "<f6>") 'hydra-rpgdm/body)
map)) map))
(defhydra hydra-rpgdm (:color pink :hint nil) (defhydra hydra-rpgdm (:color pink :hint nil)