Macro
Recording a macro
Each register of macro is identified by a letter from z
to a
.
To enter a macro, type: 1
q<letter><commands>q
To execute the macro <number> times (once by default), type:
1 | <number>@<letter> |
Vim 锁定屏幕和解锁
使用ctrl-S
锁定vim,使用ctrl-Q
解锁。