我怎样才能找到在正常模式下插入字符的 VimL 函数?
How can I find what VimL functions hook into inserting characters in normal mode?
我想获取在插入模式下键入任何字符时调用的所有 VimL 函数集。
我想要这个的原因是找出导致 Vim 在某些情况下尝试完成变量时使用高 CPU 的原因。
还有'verbose'
option controls the logging. With a value of 15
or higher, any executed Vim command is logged. As functions can now run asynchronously in the background, or triggered periodically, this gets messy fast, and the hit-enter prompts can prevent you from doing any work. Therefore, it's recommended to redirect the logging into a file by setting 'verbosefile'
。
我想获取在插入模式下键入任何字符时调用的所有 VimL 函数集。
我想要这个的原因是找出导致 Vim 在某些情况下尝试完成变量时使用高 CPU 的原因。
还有'verbose'
option controls the logging. With a value of 15
or higher, any executed Vim command is logged. As functions can now run asynchronously in the background, or triggered periodically, this gets messy fast, and the hit-enter prompts can prevent you from doing any work. Therefore, it's recommended to redirect the logging into a file by setting 'verbosefile'
。