diff --git a/modules/lang/org/autoload/evil.el b/modules/lang/org/autoload/evil.el deleted file mode 100644 index 62bfca831..000000000 --- a/modules/lang/org/autoload/evil.el +++ /dev/null @@ -1,11 +0,0 @@ -;;; lang/org/autoload/evil.el -*- lexical-binding: t; -*- -;;;###if (featurep! :feature evil) - -;; TODO +org-attach:find - -;;;###autoload (autoload '+org-attach:uri "lang/org/autoload/evil" nil t) -(evil-define-command +org-attach:uri (uri) - "Downloads the file at URL and places an org link to it at the cursor." - (interactive "") - (+org-attach/uri uri)) - diff --git a/modules/lang/org/autoload/org-capture.el b/modules/lang/org/autoload/org-capture.el index 518bc033e..3cec07ba5 100644 --- a/modules/lang/org/autoload/org-capture.el +++ b/modules/lang/org/autoload/org-capture.el @@ -1,16 +1,6 @@ ;;; lang/org/autoload/org-capture.el -*- lexical-binding: t; -*- ;;;###if (featurep! +capture) -(when (featurep! :feature evil) -;;;###autoload (autoload '+org-capture:open "lang/org/autoload/org-capture" nil t) - (evil-define-operator +org-capture:open (&optional beg end) - "Evil ex interface to `+org-capture/dwim'." - :move-point nil :type inclusive - (interactive "") - (+org-capture/open - (unless (or (evil-normal-state-p) (evil-insert-state-p)) - (buffer-substring beg end))))) - ;;;###autoload (defun +org-capture/open (&optional string key) "Sends STRING, the current selection or prompted input to `org-capture'.