News for hackers. Stuff that matters.
Re:The Anvil Text Editor by subjectsigma on Thursday October 24, 2024 @08:11AM (#41934727)
I feel exactly the opposite, macros and regexps always felt like I was trying to shoot something blindfolded, it was always awkward and usually didn’t work the first time. Multiple cursors provide immediate visual feedback. Once I started using them they replaced macros and find-and-replace immediately. I don’t use an editor unless it supports multiple cursors. What “clunky downsides and weirdness” are you experiencing?
Re:The Anvil Text Editor by kqr on Thursday October 24, 2024 @10:20AM (#41935782)
For the record, there are plugins (for e.g. Emacs) that provide visual feedback on regex operations.
Re:The Anvil Text Editor by alpaca128 on Friday October 25, 2024 @04:35AM (#41943390)
Using :%s instead of :s lets you preview in real-time what a regex substitution will do while you are typing it.