拉取整个文件 [英] Yank entire file

查看:28
本文介绍了拉取整个文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我经常在 gVim 中写一些东西,然后需要将它复制粘贴到另一个应用程序中.

I often write something in gVim, then need to copy-paste it into another application.

有没有一种简单的方法来拉取整个文件?我通常做这样的事情

Is there an easy way to yank the entire file? I usually do something like this

ggVG"+y

(到顶部,视线模式,到底部,猛拉)

(Go to top, visual-line mode, go to bottom, yank)

但是有没有更好的方法让我错过?

But is there a better way that I'm missing out on?

推荐答案

我使用如下指令::%y+

这篇关于拉取整个文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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