2017-12-08 22:59:42 -05:00
|
|
|
;;; lang/org/autoload/evil.el -*- lexical-binding: t; -*-
|
2017-11-04 22:11:55 +01:00
|
|
|
;;;###if (featurep! :feature evil)
|
2017-02-19 19:01:47 -05:00
|
|
|
|
2017-09-07 17:25:38 +02:00
|
|
|
;; TODO +org-attach:find
|
|
|
|
|
2017-12-08 22:59:42 -05:00
|
|
|
;;;###autoload (autoload '+org-attach:uri "lang/org/autoload/evil" nil t)
|
2017-09-07 17:25:38 +02: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-19 19:01:47 -05:00
|
|
|
|