hlissner / evil-multiedit

Multiple cursors for evil-mode, based on iedit
MIT License
345 stars 11 forks source link

how to skip a match? #34

Open shenhai-ran opened 4 years ago

shenhai-ran commented 4 years ago

If I don't want to edit all the matches, how can I skip some of them?

Thanks!

hlissner commented 4 years ago

There is no skip-next-match command, atm, but with the default keybinds you can press RET (bound to evil-multiedit-toggle-or-restrict-region) on iedit regions to toggle them.

You can also bind this command in visual mode to be able to select a region and restrict iedit to it.

(evil-define-key* 'visual 'global (kbd "RET") #'evil-multiedit-toggle-or-restrict-region)
mohkale commented 4 years ago

Can't you use iedit-toggle-selection?