yog*_*oth 1011
您开始录制q<letter> ,您可以通过q再次键入来结束录制.
录制是Vim非常有用的功能.
它记录您键入的所有内容.然后,您只需键入即可重播@<letter>.记录搜索,移动,替换......
Vim恕我直言的最佳功能之一.
eph*_*ent 100
输入:h recording以了解更多信息.
*q* *recording*
q{0-9a-zA-Z"} Record typed characters into register {0-9a-zA-Z"}
(uppercase to append). The 'q' command is disabled
while executing a register, and it doesn't work inside
a mapping. {Vi: no recording}
q Stops recording. (Implementation note: The 'q' that
stops recording is not stored in the register, unless
it was the result of a mapping) {Vi: no recording}
*@*
@{0-9a-z".=*} Execute the contents of register {0-9a-z".=*} [count]
times. Note that register '%' (name of the current
file) and '#' (name of the alternate file) cannot be
used. For "@=" you are prompted to enter an
expression. The result of the expression is then
executed. See also |@:|. {Vi: only named registers}
mit*_*hus 29
键入q开始宏录制,当用户q再次点击时录制停止.
正如Joey Adams所提到的,要禁用录制,请.vimrc在主目录中添加以下行:
map q <Nop>
Run Code Online (Sandbox Code Playgroud)
Joh*_*kin 14
这意味着你处于"记录宏"模式.通过键入q后跟注册名称输入此模式,可以通过q再次键入退出.