aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Benencia <id@rbenencia.name>2023-12-03 10:09:15 -0800
committerRaúl Benencia <id@rbenencia.name>2023-12-03 10:11:04 -0800
commited1d9a36afde93a928f04e0301464e564c13775d (patch)
tree9a01fe2ffcbd2366ce5f53a069aedf80df2b69ec
parenta3f519a02b48f37e92dfd6ba5a2186f843fe8ab2 (diff)
emacs: org-download
-rw-r--r--.emacs.d/rul-lisp/packages/rul-org.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/.emacs.d/rul-lisp/packages/rul-org.el b/.emacs.d/rul-lisp/packages/rul-org.el
index 72f74b1..539b56a 100644
--- a/.emacs.d/rul-lisp/packages/rul-org.el
+++ b/.emacs.d/rul-lisp/packages/rul-org.el
@@ -22,6 +22,14 @@
(add-hook 'org-mode-hook 'turn-off-auto-fill)
(add-hook 'org-mode-hook 'visual-line-mode)
+(use-package org-download
+ :ensure t
+ :config
+ (add-hook 'dired-mode-hook 'org-download-enable))
+
+;; Drag-and-drop to `dired`
+(add-hook 'dired-mode-hook 'org-download-enable)
+
(setq org-startup-indented t
org-pretty-entities nil
org-hide-emphasis-markers t
nihil fit ex nihilo