3

I like how multiple-cursors is turned off when pressing RET, and this is not the case for iedit-mode, how can I emulate that behavior?

3

From future. Now it is

(define-key iedit-mode-occurrence-keymap (kbd "RET") 'iedit-mode)
2

Define a key for the iedit-mode keyboard map, like this:

(define-key iedit-mode-map (kbd "RET") 'iedit-mode)

So, when you start editing a piece of text with iedit-mode, you can turn it off by just pressing RET or any key you like.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.