Re:Slap – A Sublime-like terminal-based text editor
by kwouk on Sunday May 28, 2017 @11:37AM
(#14434763)
The 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.
Re:Slap – A Sublime-like terminal-based text editor
by Antrikshy on Sunday May 28, 2017 @11:31AM
(#14434750)
Find 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.
Re:Slap – A Sublime-like terminal-based text editor
by coldtea on Sunday May 28, 2017 @11:59AM
(#14434852)
>Find and replace on steroids
For people who don't know regular expressions...
Re:Slap – A Sublime-like terminal-based text editor
by AwesomeBean on Thursday June 01, 2017 @08:34AM
(#14459696)
Try doing this with regular expressions.
Re:Slap – A Sublime-like terminal-based text editor
by evan_ on Sunday May 28, 2017 @12:30PM
(#14435016)
Yes, for most people.
Re:Slap – A Sublime-like terminal-based text editor
by coldtea on Sunday May 28, 2017 @02:55PM
(#14435603)
That shouldn't be coding or should invest some hours for learning regexes...
Re:Slap – A Sublime-like terminal-based text editor
by mixedCase on Sunday May 28, 2017 @12:24PM
(#14434984)
Or Vim macros.
Re:Slap – A Sublime-like terminal-based text editor
by flukus on Sunday May 28, 2017 @08:26PM
(#14436745)
That's a much better analogy. Multiple cursors have the same use cases as macros, they are just performed live instead of saved and replayed.
Re:Slap – A Sublime-like terminal-based text editor
by gjjrfcbugxbhf on Sunday May 28, 2017 @12:44PM
(#14435100)
I find that both have their uses.
Re:Slap – A Sublime-like terminal-based text editor
by saghm on Sunday May 28, 2017 @11:39AM
(#14434773)
Not 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)
Re:Slap – A Sublime-like terminal-based text editor
by thiagobbt on Sunday May 28, 2017 @11:45AM
(#14434793)
Pressing 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
Re:Slap – A Sublime-like terminal-based text editor
by saghm on Sunday May 28, 2017 @12:21PM
(#14434962)
Yep, 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".
Re:Slap – A Sublime-like terminal-based text editor
by mrkgnao on Monday May 29, 2017 @11:53AM
(#14439710)
Emacs' evil-mode provides "live" search-and-replace. I can't imagine using the vanilla Vim behavior any more.
Re:Slap – A Sublime-like terminal-based text editor
by saghm on Tuesday May 30, 2017 @02:31PM
(#14447351)
I've been trying out spacemacs for the past few weeks, and I really love this feature as well
Re:Slap – A Sublime-like terminal-based text editor
by y4mi on Sunday May 28, 2017 @12:22PM
(#14434973)
I'm one of those vim enthusiasts which installs vim keybinding in pretty much every editor i use and still agree.
Re:Slap – A Sublime-like terminal-based text editor
by gjjrfcbugxbhf on Sunday May 28, 2017 @12:44PM
(#14435096)
Similar 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.
UPDATE: From the answers below, I see that the point is the immediate visual feedback it gives.