Insert a character after (n) characters and repeat(n) times - vim
问题 Frequently i receive tickets from our support to make a dhcp reservation on isc-dhcp. Some printers(cof,cof HP) print the mac address information on the test page this way: 002481F33A9C ; and obviously the support guys write this way to the Ticket. I want to change to 00:24:81:F3:3A:9C layout and use an efficient way to do a "insert : after 2 characters 4 times". I know that i can achieve this with macros: qq " start recording -> register q ll " move the cursor 2 characters right i " enter