News for hackers. Stuff that matters.
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.