diff options
author | jao <jao@gnu.org> | 2021-03-27 02:55:27 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-03-27 02:55:27 +0000 |
commit | 3d1d6772f410ddc0ae7c36442f5be43847a8e432 (patch) | |
tree | 6c18cbf1a3e41c4a592410ad464be0f90e4e9c74 | |
parent | b116c6fa988f56373c35dd5009f1ad65da7582da (diff) | |
download | elibs-3d1d6772f410ddc0ae7c36442f5be43847a8e432.tar.gz elibs-3d1d6772f410ddc0ae7c36442f5be43847a8e432.tar.bz2 |
pdf-view-mode hydra adjustments
-rw-r--r-- | exwm.org | 11 | ||||
-rw-r--r-- | init.org | 10 |
2 files changed, 13 insertions, 8 deletions
@@ -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) @@ -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 |