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)
[ Parent
| on HN ]
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.