News for hackers. Stuff that matters.
Re:Amp: Vi-like terminal editor written in Rust by sagarm on Tuesday April 13, 2021 @02:55AM (#26788925)
Neovim gives you a preview of the result of your regex replacement, and with the ability to reference capture groups it's a pretty powerful.
Re:Amp: Vi-like terminal editor written in Rust by sullyj3 on Tuesday April 13, 2021 @04:31AM (#26789606)
Yeah, I'm a neovim user, and I enjoy that feature. There are just times when multiple cursors would be ever so slightly more ergonomic.
Re:Amp: Vi-like terminal editor written in Rust by majewsky on Tuesday April 13, 2021 @07:58AM (#26791010)
Vim also has it with `:set hlsearch incsearch`.
Re:Amp: Vi-like terminal editor written in Rust by sagarm on Tuesday April 13, 2021 @11:10PM (#26802522)
That doesn't preview the result of the regex, just the text that would be replaced IIRC.