iedit: add cmd+D 'add next match' functionality, ala sublime text

This commit is contained in:
Henrik Lissner 2016-02-18 05:05:03 -05:00
parent 1b4742167d
commit 3e542dd454
3 changed files with 54 additions and 14 deletions

View file

@ -33,17 +33,6 @@
(and (evil-visual-state-p)
(eq (evil-visual-type) 'line)))
;;;###autoload
(defun narf:iedit-restrict-to-region ()
(interactive)
(if (iedit-current-occurrence-string)
(let ((current-prefix-arg '(4)))
(iedit-done)
(call-interactively 'iedit-mode)
(save-excursion (iedit-restrict-region (region-beginning) (region-end)))
(evil-previous-line))
(call-interactively 'evil-ret)))
;;;###autoload
(defun narf*evil-exchange-off ()
(when evil-exchange--overlays