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

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

它是什么,如何关闭它?


您可以通过q <letter>开始录制,您可以通过再次输入q来结束录制。

录制是Vim非常有用的功能。

它记录你输入的所有内容。 然后,您只需输入@ <letter>即可重播。 记录搜索,移动,替换...

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


键入: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}

这听起来像你开启了宏录制功能。 要关闭它,请按q

有关更多信息,请参阅“:帮助录音”。

相关链接:

  • smr的博客:vim :: recording
  • Vi和Vim宏指南:如何记录和播放
  • 链接地址: http://www.djcxy.com/p/8731.html

    上一篇: What is vim recording and how can it be disabled?

    下一篇: Vim indents every line of code when copying