[Vim]run a macro repeatedly

Tue Feb 11

Vim practice

Author:Noritaka

Astroのロゴ。
run macro repeatedly
Copy and paste the below text and type some commands like below.

---
1. /some <CR>
2. qq           (register macro q)
3. n            (search next)
4. dtb          (delete till b)
5. I            (insert mode)
6. every
7. <Esc> q      (stop register macro q)
8. 10@q         (RUN MACRO 10 TIMES)
---
somebody
somebody
somebody
somebody
somebody
somebody
tip651

Vim