beginner, buffer, customization, editing, elisp, navigation, opinion, productivity, workflow
IEdit: Interactive, multi-occurrence editing in your buffer
by mickey on October 2nd, 2012
Home > All Articles > IEdit: Interactive, multi-occurrence editing in your buffer
Have you ever heard of iedit for Emacs by Victor Ren? Me neither, until recently, and that’s a terrible shame as it is now a cornerstone of my programming workflow now that I’ve learned about it. So what does it do, then? Well, quite simply, you can edit multiple, identical string occurences at the same time. The twist here is it uses in-buffer editing without disrupting your workflow with prompts, windows or any of that stuff: you plonk your point down on a word you want to change; you run iedit-mode; and now all the occurrences of that word is highlighted on your screen, like isearch, and when you alter a highlighted word, the other highlighted words change also. How cool is that? Modern IDEs have it already — usually hidden away in the “Refactoring” section — and does exactly the same thing, but iedit is a lot dumber as it cannot infer context beyond I want to iedit all occurrences of word point is on. ·
http://www.masteringemacs.org/articles/2012/10/02/iedit-interactive-multi-occurrence-editing-in-your-buffer/
beginner, buffer, customization, editing, elisp, navigation, opinion, productivity, workflow
IEdit: Interactive, multi-occurrence editing in your buffer
by mickey on October 2nd, 2012
Home > All Articles > IEdit: Interactive, multi-occurrence editing in your buffer
Have you ever heard of iedit for Emacs by Victor Ren? Me neither, until recently, and that’s a terrible shame as it is now a cornerstone of my programming workflow now that I’ve learned about it. So what does it do, then? Well, quite simply, you can edit multiple, identical string occurences at the same time. The twist here is it uses in-buffer editing without disrupting your workflow with prompts, windows or any of that stuff: you plonk your point down on a word you want to change; you run iedit-mode; and now all the occurrences of that word is highlighted on your screen, like isearch, and when you alter a highlighted word, the other highlighted words change also. How cool is that? Modern IDEs have it already — usually hidden away in the “Refactoring” section — and does exactly the same thing, but iedit is a lot dumber as it cannot infer context beyond I want to iedit all occurrences of word point is on. ·
http://www.masteringemacs.org/articles/2012/10/02/iedit-interactive-multi-occurrence-editing-in-your-buffer/