0%

Vim常用备忘录

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解锁。