summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-03-27 02:55:27 +0000
committerjao <jao@gnu.org>2021-03-27 02:55:27 +0000
commit3d1d6772f410ddc0ae7c36442f5be43847a8e432 (patch)
tree6c18cbf1a3e41c4a592410ad464be0f90e4e9c74
parentb116c6fa988f56373c35dd5009f1ad65da7582da (diff)
downloadelibs-3d1d6772f410ddc0ae7c36442f5be43847a8e432.tar.gz
elibs-3d1d6772f410ddc0ae7c36442f5be43847a8e432.tar.bz2
pdf-view-mode hydra adjustments
-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