2017-12-09 11:59:42 +08:00
|
|
|
;;; lang/org/autoload/evil.el -*- lexical-binding: t; -*-
|
2017-11-05 05:11:55 +08:00
|
|
|
;;;###if (featurep! :feature evil)
|
2017-02-20 08:01:47 +08:00
|
|
|
|
2017-09-07 23:25:38 +08:00
|
|
|
;; TODO +org-attach:find
|
|
|
|
|
2017-12-09 11:59:42 +08:00
|
|
|
;;;###autoload (autoload '+org-attach:uri "lang/org/autoload/evil" nil t)
|
2017-09-07 23:25:38 +08:00
|
|
|
(evil-define-command +org-attach:uri (uri)
|
|
|
|
"Downloads the file at URL and places an org link to it at the cursor."
|
|
|
|
(interactive "<f>")
|
|
|
|
(+org-attach/uri uri))
|
2017-02-20 08:01:47 +08:00
|
|
|
|