General refactor & cleanup

This commit is contained in:
Henrik Lissner
2017-06-14 21:03:20 +02:00
parent 633e693cab
commit 816df321a5
15 changed files with 34 additions and 41 deletions

View File

@@ -1,10 +1,10 @@
;;; lang/org/autoload/evil.el -*- lexical-binding: t; -*-
;;;###autoload (autoload '+org:capture "lang/org/autoload/evil" nil t)
(evil-define-operator +org:capture (&optional beg end bang)
(evil-define-operator +org:capture (&optional beg end)
"Send a selection to `doom/org-capture'."
:move-point nil :type inclusive
(interactive "<r><!>")
(interactive "<r>")
(org-capture-string
(when (and (evil-visual-state-p) beg end)
(buffer-substring beg end))))