diff options
-rw-r--r-- | init.el | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1608,6 +1608,11 @@ (interactive) (jao-org-pdf-goto-org 4)) +(defun jao-doc-view-open-with-zathura () + (interactive) + (when buffer-file-name + (jao-zathura-open buffer-file-name (doc-view-current-page)))) + (jao-transient-major-mode doc-view ["Notes" ("o" "notes file" jao-org-pdf-goto-org) @@ -1622,7 +1627,9 @@ ["Session" ("s" "load session" jao-afio-open-pdf-session) ("S" "save session" jao-doc-session-save) - ("d" "visit cache directory" doc-view-dired-cache)]) + ("d" "visit cache directory" doc-view-dired-cache)] + ["External viewers" + ("z" "open with zathura" jao-doc-view-open-with-zathura)]) (with-eval-after-load "pdf-view" (jao-transient-major-mode pdf-view |