5 ms·
While I don't want to start a debate over VIM versus Emacs (I think they can both be used very effectively once learned), I can't help but share a video [1] on
by podiki 9y ago
While I don't want to start a debate over VIM versus Emacs (I think they can both be used very effectively once learned), I can't help but share a video [1] on Emacs that made me go "wow!" (The video is somewhat similar, but uses multiple-cursors to do editing all at once, while also recording a macro to repeat it.) I think the real point for Vim or Emacs is that a powerful text editor, combined with the ability to extend it, is an extremely powerful tool.
[1] http://emacsrocks.com/e13.html http://emacsrocks.com/e13.html
- LightMachine 9y agoThanks for sharing your experience! EMACs is another masterpiece on its own merits and I'm all for diversity. Also, hijacking the top comment on my own post to say the obvious: people, this is just my opinion! I'm not saying you shouldn't use and love your IDEs because I like VIM! Love you all. Peace!
- hackuser 9y agoThat video is great. The multiple cursors GUI is a brilliant way to visualize a repetitive operation (i.e., one that often would be recorded and executed by macro). I was going to ask if anyone else implements it, but I thought I'd search first. Does anyone know more about it? Its origins? More functionality? * Vim https://github.com/terryma/vim-multiple-cursors https://github.com/terryma/vim-multiple-cursors * Atom (I'm not sure if it's the same functionality) https://atom.io/packages/multi-cursor https://atom.io/packages/multi-cursor https://www.lynda.com/Web-Development-tutorials/Selections-multiple-cursors/468147/486974-4.html https://www.lynda.com/Web-Development-tutorials/Selections-m... * Sublime https://stackoverflow.com/questions/14963775/multiple-cursors-in-sublime-text-2-windows https://stackoverflow.com/questions/14963775/multiple-cursor... EDIT: Well it seems like Sublime has had this feature since at least 2012. I suppose I should have considered text editors besides Vim, and I might have known sooner. I'll leave this post in case there are others as narrow-minded as I am ...
- chillee 9y agoSublime Text was actually the text editor that innovated this functionality. If you look at the github for the vim plugin, they clearly say "True Sublime Text style multiple selections for Vim". Although I've stopped using sublime text since, sublime text really drove forward the gui text editor market.
- johncoltrane 9y agoNo. JEdit had that feature long before Sublime Text.
- chillee 9y agoYou seem to be right. I always though Sublime Text introduced it (lots of people seem to believe this: https://medium.com/@schtoeffel/you-don-t-need-more-than-one-cursor-in-vim-2c44117d51db https://medium.com/@schtoeffel/you-don-t-need-more-than-one-...), but sublime text introduced multiple cursors with its release date in 2008, while JEdit appears to have had multiple cursors at least since 2003?