4 ms·
No multi cursors? :(
by hartator 9y ago
No multi cursors? :(
- insulanian 9y agoYeah, my first thought too. Multi cursors are one of the most important features of ST - no much benefit without those.
- cyruscm 9y agoOn a side note, a multi cursors package does exist for vim
- drchickensalad 9y agoIt's not the same at all. Calling it that is an insult to sublime multi-cursors.
- nine_k 9y agoWhat is the use of multiple cursors? Something that does not boil down to copy-paste programming. UPDATE: From the answers below, I see that the point is the immediate visual feedback it gives.
- Antrikshy 9y agoFind and replace on steroids, meaning the flexibility of moving the cursors around in all instances of a find and making edits near the beginnings and ends of lines, for example.
- saghm 9y agoNot trying to diminish the use of multiple cursors (I have certain fondness for them despite not using them extensively due to my choice of editor), but using regexes you can still do that (i.e. with /^/ and /$/, which I use constantly with vim-style search and replace)
- thiagobbt 9y agoPressing ctrl-d a couple of times, seeing what will change, and typing something is most of the time easier and faster than thinking about a regex. At least that's how I feel
- saghm 9y agoYep, I can see that being easier depending on what you prefer, I just wanted to point out that the feature wasn't unique to multiple cursors, since it was being described as "find and replace on steroids".
- y4mi 9y agoI'm one of those vim enthusiasts which installs vim keybinding in pretty much every editor i use and still agree.
- mrkgnao 9y agoEmacs' evil-mode provides "live" search-and-replace. I can't imagine using the vanilla Vim behavior any more.
- saghm 9y agoI've been trying out spacemacs for the past few weeks, and I really love this feature as well
- coldtea 9y ago>Find and replace on steroids For people who don't know regular expressions...
- mixedCase 9y agoOr Vim macros.
- gjjrfcbugxbhf 9y agoI find that both have their uses.
- flukus 9y agoThat's a much better analogy. Multiple cursors have the same use cases as macros, they are just performed live instead of saved and replayed.
- evan_ 9y agoYes, for most people.
- coldtea 9y agoThat shouldn't be coding or should invest some hours for learning regexes...
- AwesomeBean 9y agoTry doing this with regular expressions. https://gifs.com/player/G6m3vQ https://gifs.com/player/G6m3vQ
- kwouk 9y agoThe ability to use multiple cursors is one of Sublime Text's defining features, so describing an editor as being Sublime-like without that feature is somewhat of a letdown.
- gjjrfcbugxbhf 9y agoSimilar use to reg ex based find and replace but with less thought needed. Useful for those that prefer just editing rather than composing regular expressions.
- kaishiro 9y agoI can definitely dig the thought behind multi-cursors, and I think the people downstream comparing the use case to regex is a little off. I think a better analogy in vim is macros, considering you could run a macro ripping through the results of a string search (which, sure, could be regex), but you could also use it for appending/prepending to lines and patterns, which is really useful in certain cases.