vim:如何将触发器设置为选项窗口中的触发器

vim:如何将触发器设置为选项窗口中的触发器,vim,Vim,在vim中键入“:option”时,第一行显示: " Each "set" line shows the current value of an option (on the left). " Hit <CR> on a "set" line to execute it. " A boolean option will be toggled. " For other options you can edit the value before

在vim中键入“:option”时,第一行显示:

" Each "set" line shows the current value of an option (on the left).
" Hit <CR> on a "set" line to execute it.
"            A boolean option will be toggled.
"            For other options you can edit the value before hitting <CR>.
" Hit <CR> on a help line to open a help window on this option.
" Hit <CR> on an index line to jump there.
" Hit <Space> on a "set" line to refresh it.
“每个“设置”行显示选项的当前值(在左侧)。
点击“设置”行执行它。
“将切换布尔值选项。
“对于其他选项,可以在单击之前编辑值。
“点击帮助热线以打开此选项的帮助窗口。
“点击一条索引线跳到那里。
点击“设置”行刷新它。

这些是什么以及如何将这四个函数设置为自定义文件?

这是通过调用函数的键映射完成的。完成这一切的脚本位于
$VIMRUNTIME/optwin.vim
。请查看详细信息