---
title: "Comment by John on \"Vim is actually worth it\" | Hashnode"
description: "Great article! While I wasn&#39;t aware of the lovely feature where you apply a macro to lines selected with a regular expression, I can&#39;t help but point ou"
url: "https://hashnode.com/posts/vim-is-actually-worth-it/60c510ba1679ed6f51a273b1/comment/60c7b0ac590a5c065656522b"
---

[Discussion](https://hashnode.com/posts/vim-is-actually-worth-it/60c510ba1679ed6f51a273b1)

Comment [Vim is actually worth it](https://hashnode.com/posts/vim-is-actually-worth-it/60c510ba1679ed6f51a273b1)

[John](https://hashnode.com/@johnisgone)

[Jun 14, 2021](https://hashnode.com/posts/vim-is-actually-worth-it/60c510ba1679ed6f51a273b1/comment/60c7b0ac590a5c065656522b)

Great article! While I wasn't aware of the lovely feature where you apply a macro to lines selected with a regular expression, I can't help but point out that just sorting would have been enough for your usecase ;)

[Alexander González Fertel](https://hashnode.com/@alexfertel)

[Jun 14, 2021](https://hashnode.com/posts/vim-is-actually-worth-it/60c510ba1679ed6f51a273b1/comment/60c7b0ac590a5c065656522b#reply-60c7b169bbd8c506819ae753)

Thanks! Yeap, you're right, I didn't notice :)
