Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sullyj3
on April 13, 2021
|
parent
|
context
|
favorite
| on:
Amp: Vi-like terminal editor written in Rust
The difference is the interactivity and instantaneous feedback. I don't want to have to blindly write a regex substitution when I could instead be seeing what is happening at each step, right in front of me.
sagarm
on April 13, 2021
[–]
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.
sullyj3
on April 13, 2021
|
parent
|
next
[–]
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.
majewsky
on April 13, 2021
|
parent
|
prev
[–]
Vim also has it with `:set hlsearch incsearch`.
sagarm
on April 14, 2021
|
root
|
parent
[–]
That doesn't preview the result of the regex, just the text that would be replaced IIRC.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: