将大量文本粘贴到 vim 中很慢? [英] Pasting a huge amount of text into vim is slow?

查看:37
本文介绍了将大量文本粘贴到 vim 中很慢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

之前有人向我展示了如何执行此操作,但我现在不知道它是什么.

Someone showed me how to do this before but I can't figure out what it was now.

我知道 :set paste 但这不是问题.

I know about :set paste but this is not the problem.

推荐答案

使用 "*p"*P 立即从系统剪贴板粘贴.

Use "*p or "*P to paste from the system clipboard instantly.

Vim 必须使用 +clipboard 编译才能工作.

Vim must be compiled with +clipboard for this to work.

有关详细信息,请参阅 :help clipboard.

See :help clipboard for more information.

这篇关于将大量文本粘贴到 vim 中很慢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆