renzev@lemmy.worldcake to linuxmemes@lemmy.worldEnglish · 3 months agoMe giving advice about text editorslemmy.worldexternal-linkmessage-square182fedilinkarrow-up1965arrow-down158
arrow-up1907arrow-down1external-linkMe giving advice about text editorslemmy.worldrenzev@lemmy.worldcake to linuxmemes@lemmy.worldEnglish · 3 months agomessage-square182fedilink
minus-squarekattfisk@lemmy.dbzer0.comlinkfedilinkarrow-up2·3 months agoI 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
minus-squarenickwitha_k (he/him)@lemmy.sdf.orglinkfedilinkarrow-up2·3 months agoAlso a good choice. Just never had the need since I knew a bit of regex before learning vim.
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.