[Vim]run a macro

Tue Feb 11

Vim practice

Author:Noritaka

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

---
1. /foo <CR>
2. qq         (register macro q)
3. A;         (execute command)
4. <Esc> q    (stop register macro)
5. jVj        (select sentence)
6. @q         (RUN THE MACRO)
---
foo = 1
var = 'a'
foobar = foo + bar
tip641 

Vim