by melloclello · 10y ago · 0 comments
I feel like it's such a useful feature that it should be baked into your operating system's text field widgets from the ground up. It's intuitive enough, too, that regular users could probably grasp it.
[1] As per Sublime Text: http://www.sublimetext.com
While I'm here I'd like to gripe that while there is a third party Atom package which adds support for multiple cursors [2], it has a number of bugs in it which seem to be irresolvable due to some deep architectural issue with Atom. ARGH.
[2] Sublime-Style-Column-Selection is the only package that attempts to do it "properly": https://atom.io/packages/sublime-style-column-selection
In emacs, there's also iedit-mode, which is another way of doing the same sort of things you would do with multiple cursors.
That being said, even though I'm more comfortable with Jetbrains' editors, I still tend to edit miscellaneous docs in atom or vim.
regex works great for me in vim
> 1 time pre-processing data
I use regex for this most of the time, and macros if it's more complicated. I think macros are actually quite a bit more powerful than multiple cursors because you can apply the same set of transformations between files (and without needing to match against a particular word or pattern).