branch: elpa/multiple-cursors
commit a0f771f3e4a42571c1d63fea3b402d6c6b0a7322
Author: Magnar Sveen <[email protected]>
Commit: Magnar Sveen <[email protected]>
Include interactive commands for deselecting prev/next
Fixes #21
---
mc-mark-more.el | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/mc-mark-more.el b/mc-mark-more.el
index a0f134f..883fb1e 100644
--- a/mc-mark-more.el
+++ b/mc-mark-more.el
@@ -138,6 +138,18 @@ With zero ARG, skip the last one and mark next."
(multiple-cursors-mode 0)))
;;;###autoload
+(defun mc/unmark-next-like-this (arg)
+ "Deselect next part of the buffer matching the currently active region."
+ (interactive)
+ (mc/mark-next-like-this -1))
+
+;;;###autoload
+(defun mc/unmark-previous-like-this (arg)
+ "Deselect prev part of the buffer matching the currently active region."
+ (interactive)
+ (mc/mark-previous-like-this -1))
+
+;;;###autoload
(defun mc/mark-all-like-this ()
"Find and mark all the parts of the buffer matching the currently active
region"
(interactive)