什么是vim录音以及如何禁用它?

我一直在gvim 7.2窗口底部看到recording信息。 html

它是什么以及如何将其关闭? express


#1楼

这意味着你处于“记录宏”模式。 经过键入q后跟注册名称输入此模式,能够经过再次键入q退出。 vim


#2楼

听起来你打开了微距录音。 要关闭它,请按qapp

有关详细信息,请参阅“ :帮助记录 ”。 less

相关连接: ide


#3楼

您能够经过q <letter>开始录制,而后再次输入q便可结束录制。 spa

录制是Vim很是有用的功能。 .net

它记录您键入的全部内容。 而后,您只需键入@ <letter>便可重播。 记录搜索,移动,替换...... code

Vim恕我直言的最佳功能之一。 htm


#4楼

正如其余人所说,它是宏录制,你用q关闭它。 这是一篇很好的文章,讲述了如何以及为何它有用。


#5楼

键入:h录音以了解更多信息。

*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}
相关文章
相关标签/搜索