Hacker News new | ask | show | jobs
by usrbinbash 1614 days ago
I used editors with multiline editing capabilities in the past.

There are only 2 usecases where it was of any value to me: If I have to write multiple lines in a similar fashion, or if I have to edit the same thing in a similar fashion in several places at once.

Both can be done much easier by using a regular expression.

1 comments

I disagree. In the past I've used regex to do that and now that I have access to a multicursor, I won't be going back. I think with regex you don't get the same kind of visual feedback that you get from a multicursor which is why I (and many other Kakoune users as well) like it so much. If you're happier with regex and feel like you don't need multicursor, that's great.
In case it helps anyone, doing regex-based search/edit in vim was annoying until I found this plugin. https://github.com/haya14busa/incsearch.vim