When using Ctrl-Shift-v
in vim insertion mode, the speed of pasting the system clipboard content is extremely slow. Sometimes a paragraph of text is pasted in several sentences. If there is too much content, It may even freeze; in normal mode, there is almost no delay when using "+p to paste the same amount of content. Why is this?
曾经蜡笔没有小新2017-05-16 16:44:21
Ctrl-Shift-v is equivalent to analog input. Each character is treated as a key and will trigger any logic that may be triggered, including highlighting, indented bracket matching, automatic line wrapping, etc. The speed is necessarily slow.
"+p inserts the value from the register into buf at once, so it is fast.