summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--exwm.org11
-rw-r--r--init.org10
2 files changed, 13 insertions, 8 deletions
diff --git a/exwm.org b/exwm.org
index 06ecea9..996c840 100644
--- a/exwm.org
+++ b/exwm.org
@@ -370,14 +370,9 @@
#+end_src
* Hydras
#+begin_src emacs-lisp
- (major-mode-hydra-define pdf-view-mode nil
- ("Elsewhere"
- (("b" (jao-buffer-same-mode 'pdf-view-mode) "other PDFs")
- ("o" jao-org-pdf-goto-org "notes file")
- ("O" (jao-org-pdf-goto-org 4) "notes file, linking"))
- "External"
- (("p" doc-view-presentation "presentation")
- ("z" jao-exwm-open-with-zathura "open with zathura")
+ (major-mode-hydra-define+ pdf-view-mode nil
+ ("External"
+ (("z" jao-exwm-open-with-zathura "open with zathura")
("m" jao-exwm-open-with-mupdf "open with mupdf"))))
(defhydra jao-hydra-float (:color blue)
diff --git a/init.org b/init.org
index 06777e5..2b1a695 100644
--- a/init.org
+++ b/init.org
@@ -1635,6 +1635,16 @@
(setq jao-org-open-pdf-fun #'jao-afio-open-pdf)
#+END_SRC
+*** Hydra
+ #+begin_src emacs-lisp
+ (major-mode-hydra-define pdf-view-mode nil
+ ("Notes"
+ (("o" jao-org-pdf-goto-org "notes file")
+ ("O" (jao-org-pdf-goto-org 4) "notes file, linking"))
+ "Session"
+ (("g" jao-doc-view-goto-bmk "go to saved bookmark")
+ ("s" jao-open-pdf-session "load session"))))
+ #+end_src
* Email
*** message mode
***** Customization