diff options
| author | Somelauw <Somelauw> | 2017-11-27 22:09:24 +0100 |
|---|---|---|
| committer | Somelauw <Somelauw> | 2017-11-27 22:09:24 +0100 |
| commit | 649e203d72345a396f3fbfe710e244ed4eb513c5 (patch) | |
| tree | e4804508156d6da3fe91cb743380b09ae1a08578 | |
| parent | e38cf914de6627fed6405004555e0c04fcf39906 (diff) | |
Make evil-org-delete work with evil-surround
Fixes https://github.com/Somelauw/evil-org-mode/issues/29
| -rw-r--r-- | evil-org.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/evil-org.el b/evil-org.el index 09fb3d8..d1bed93 100644 --- a/evil-org.el +++ b/evil-org.el @@ -112,6 +112,9 @@ By default, o and O are bound to ‘evil-org-open-above’ and ‘evil-org-open- :group 'evil-org ) +(with-eval-after-load 'evil-surround + (add-to-list 'evil-surround-operator-alist '(evil-org-delete . delete))) + (defun evil-org-eol-call (fun &rest arguments) "Go to end of line and call provided function. FUN function callback |
