summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2025-11-25 11:24:41 +0000
committerjao <jao@gnu.org>2025-11-25 11:24:41 +0000
commite5d5668f5bfaeb4777fccfc0842e9ea41fe94ca3 (patch)
tree31d20bdf89b3d9c9c00fa83d2c91440b27308d51
parent39991c157ef8fecc5bf1e434fd1d89e99214cbae (diff)
downloadelibs-e5d5668f5bfaeb4777fccfc0842e9ea41fe94ca3.tar.gz
elibs-e5d5668f5bfaeb4777fccfc0842e9ea41fe94ca3.tar.bz2
org: darwin links
-rw-r--r--custom/jao-custom-org.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/custom/jao-custom-org.el b/custom/jao-custom-org.el
index d44bf95..37045c5 100644
--- a/custom/jao-custom-org.el
+++ b/custom/jao-custom-org.el
@@ -131,7 +131,9 @@
;;; MIME and file apps
(setq org-file-apps
(jao-d-l
- org-file-apps-macos
+ '((remote . emacs)
+ (system . "open %s")
+ (t . emacs))
'((system . mailcap)
(".*\\.djvu" . system)
(t . emacs))))
@@ -302,7 +304,11 @@
;;;; mac links
(jao-when-darwin
(use-package org-mac-link
- :ensure t))
+ :ensure t
+ :bind (:map org-mode-map
+ ("C-c l m" . org-mac-link-mail-insert-link)
+ ("C-c l M" . org-mac-link-mail-insert-selected)
+ ("C-c l s" . org-mac-link-safari-insert-frontmost-url))))
;;; eldoc
(defun jao-org-eldoc--hook ()