gpt4 book ai didi

vim - 我在哪里可以找到 vim 详细级别/设置的描述?

转载 作者:行者123 更新时间:2023-12-04 21:20:02 24 4
gpt4 key购买 nike

我一直在搜索 vim 的帮助,但未能找到所有详细级别的列表以及每个级别的输出内容。

在玩弄和阅读文档后,我发现:

  • 0 - 当 vim 不是用 -V 启动时,verbose 设置为 0。
  • 6 - 显示缓冲区本地自动命令的删除
  • 9 - 在 vi​​m 执行时回显自动命令
  • 10 - 使用 vim -V 启动且未指定级别时的默认级别,显示文件来源时的名称
  • 13 - 显示异常?
  • 20 - 最高等级?

最佳答案

来自 :help 'verbose' :

'verbose' 'vbs'     number  (default 0)
global
{not in Vi, although some versions have a boolean
verbose option}
When bigger than zero, Vim will give messages about what it is doing.
Currently, these messages are given:
>= 1 When the viminfo file is read or written.
>= 2 When a file is ":source"'ed.
>= 5 Every searched tags file and include file.
>= 8 Files for which a group of autocommands is executed.
>= 9 Every executed autocommand.
>= 12 Every executed function.
>= 13 When an exception is thrown, caught, finished, or discarded.
>= 14 Anything pending in a ":finally" clause.
>= 15 Every executed Ex command (truncated at 200 characters).

This option can also be set with the "-V" argument. See |-V|.
This option is also set by the |:verbose| command.

关于vim - 我在哪里可以找到 vim 详细级别/设置的描述?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30078387/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com