Y
Hacker News
new
|
ask
|
show
|
jobs
by
sullyj3
1892 days ago
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.
1 comments
sagarm
1892 days ago
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.
link
sullyj3
1892 days ago
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.
link
majewsky
1891 days ago
Vim also has it with `:set hlsearch incsearch`.
link
sagarm
1891 days ago
That doesn't preview the result of the regex, just the text that would be replaced IIRC.
link