Include interactive commands for deselecting prev/next

Fixes #21
This commit is contained in:
Magnar Sveen 2012-10-04 07:47:31 +02:00
parent 879ddb0e97
commit a0f771f3e4

View File

@ -137,6 +137,18 @@ With zero ARG, skip the last one and mark next."
(multiple-cursors-mode 1)
(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"