diff options
-rw-r--r-- | exwm.org | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -344,7 +344,7 @@ (ignore-errors (with-current-buffer b (jao-exwm--send-str "q")))) t) - (defun jao-exwm-pdf-goto-org (&optional arg) + (defun jao-exwm-zathura-goto-org (&optional arg) (interactive "P") (when-let ((info (jao-zathura--file-info (current-buffer)))) (when-let ((file (jao-org-pdf-to-org-file (car info)))) @@ -355,9 +355,9 @@ (jao-org-insert-doc-skeleton) (org-insert-link)))))) - (defun jao-exwm-pdf-goto-org* () + (defun jao-exwm-zathura-goto-org* () (interactive) - (jao-exwm-pdf-goto-org t)) + (jao-exwm-zathura-goto-org t)) (defun jao-exwm-org-store-zathura-link () (when-let ((info (jao-zathura--file-info (current-buffer)))) @@ -441,8 +441,8 @@ ("F" exwm-layout-toggle-fullscreen "toggle fullscreen mode") ("m" exwm-workspace-move-window nil)) "Zathura" - (("o" jao-exwm-pdf-goto-org "Go to org notes") - ("O" (jao-exwm-pdf-goto-org t) "Go to org notes, linking")) + (("o" jao-exwm-zathura-goto-org "Go to org notes") + ("O" (jao-exwm-zathura-goto-org t) "Go to org notes, linking")) "Exwm utilities" (("k" exwm-input-release-keyboard "release keyboard") ("x" exwm-reset "reset exwm")))) @@ -489,8 +489,8 @@ (define-key exwm-mode-map [?\s-m] #'jao-hydra-media/body) (define-key exwm-mode-map [?\s-s] #'jao-hydra-spotify/body) (define-key exwm-mode-map [?\s-w] #'jao-hydra-exwm/body) - (define-key exwm-mode-map (kbd "C-c o") #'jao-exwm-pdf-goto-org) - (define-key exwm-mode-map (kbd "C-c O") #'jao-exwm-pdf-goto-org*) + (define-key exwm-mode-map (kbd "C-c o") #'jao-exwm-zathura-goto-org) + (define-key exwm-mode-map (kbd "C-c O") #'jao-exwm-zathura-goto-org*) (define-key exwm-mode-map (kbd "M-o") #'other-window) (setq |