Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think multicursor vs macro is basically a case of whether the feedback is instant, rather than delayed.

Multicursor (in other editors) is a lot better, because you don’t have to think about which exact motion to use as much (since you can see it as you do them).

On the other hand, macros and vim motions are a lot more general, but require you to think about the exact motions a lot more ahead of time.

I think substitution (and command) previews (vs not having these features when substituting) is a good parallel to what multicursor adds over just macros.



Doesn’t multicursor also require thinking about the exact motion, since if you do it wrong, there is no way to undo?


I’m fairly sure VS Code supports undo whilst using multicursor? Why do you say that undo is not possible?

If it’s an inbuilt feature, the editor can definitely support undos.


I meant undo for motions, not edits. I’m pretty sure Neovim does not have that. (There is <c-o>, but only for large motions.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: