Move org-download
This commit is contained in:
parent
20ff854f41
commit
aba16d7e16
14
init.el
14
init.el
|
@ -1532,6 +1532,13 @@ See also `crux-reopen-as-root-mode'."
|
||||||
org-appear-delay 0)
|
org-appear-delay 0)
|
||||||
(:hook-into org-mode))
|
(:hook-into org-mode))
|
||||||
|
|
||||||
|
(setup (:straight org-download)
|
||||||
|
(:option org-download-method 'attach
|
||||||
|
org-download-backend (cond ((executable-find "curl") 'curl)
|
||||||
|
((executable-find "wget") 'wget)
|
||||||
|
(:else 'url-retrieve)))
|
||||||
|
(add-hook 'dired-mode-hook 'org-download-enable))
|
||||||
|
|
||||||
(setup (:straight org-sticky-header)
|
(setup (:straight org-sticky-header)
|
||||||
;; (:hook-into org-mode)
|
;; (:hook-into org-mode)
|
||||||
)
|
)
|
||||||
|
@ -1862,10 +1869,3 @@ See also `crux-reopen-as-root-mode'."
|
||||||
(:require +zzz-to-char)
|
(:require +zzz-to-char)
|
||||||
(:option zzz-to-char-reach (+bytes 1 :kib))
|
(:option zzz-to-char-reach (+bytes 1 :kib))
|
||||||
(:global "M-z" #'+zzz-to-char))
|
(:global "M-z" #'+zzz-to-char))
|
||||||
|
|
||||||
(setup (:straight org-download)
|
|
||||||
(:option org-download-method 'attach
|
|
||||||
org-download-backend (cond ((executable-find "curl") 'curl)
|
|
||||||
((executable-find "wget") 'wget)
|
|
||||||
(:else 'url-retrieve)))
|
|
||||||
(add-hook 'dired-mode-hook 'org-download-enable))
|
|
||||||
|
|
Loading…
Reference in New Issue