Hot answers tagged

8 votes
Accepted

iedit vs. multiple-cursors

I never used iedit extensively, so I could be unaware of some of its features, but basically iedit is a more interactive search and replace: you can select occurrences of a string in some scope (...
Omar's user avatar
  • 4,742
3 votes
Accepted

how to insert tab while in iedit-mode

Use quoted-insert, bound to C-q by default. It'll insert the next key literally, without triggering any other functions bound to that key. So you'd say C-q TAB to get what you want.
purple_arrows's user avatar
2 votes
Accepted

How fast remove selected text

Put point into one of the iedit-occurrences and press M-D (Meta key, shift key, and D key). That key sequence runs the command iedit-delete-occurrences that deletes all occurrences selected by iedit. ...
Tobias's user avatar
  • 32.8k
2 votes

iedit: replace from line to the end down

narrow the region you want to edit (https://www.gnu.org/software/emacs/manual/html_node/emacs/Narrowing.html). Then use iedit as usual You can also iedit-toggle-selection to toggle certain selections ...
chen bin's user avatar
  • 4,819

Only top scored, non community-wiki answers of a minimum length are eligible