this post was submitted on 30 Sep 2024
867 points (94.0% liked)

linuxmemes

20880 readers
646 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] kattfisk@lemmy.dbzer0.com 2 points 1 day ago (1 children)

I use macros to solve most of the same problems. You just on-the-fly record a sequence of regular vim commands that you can then replay as many times as you need. Great for formatting a bunch of data without having to deal with the misery of regex

Also a good choice. Just never had the need since I knew a bit of regex before learning vim.