当你在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.
这些是什么以及如何将这四个功能设置为我的自定义文件?
答案 0 :(得分:1)
这是通过调用函数的键映射完成的。完成所有操作的脚本位于$VIMRUNTIME/optwin.vim
。看看详情。