从在腻子中运行的vim复制内容 [英] Copying stuff from vim running in putty

查看:70
本文介绍了从在腻子中运行的vim复制内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过腻子和腻子连接管理器运行Vim 6.3.我设置了鼠标选项(设置mouse = a).我可以通过将(windows)剪贴板中的内容粘贴到vim中,但是在vim中选择文本不会将任何内容复制到剪贴板中.有人知道我该怎么做吗?

I am running Vim 6.3 through putty and putty connection manager. I have the mouse option set (set mouse = a). I am able to paste things from the (windows) clipboard to vim by but selecting text in vim isn't copying anything to the clipboard. Does anyone know how do I do this?

注意:我无法将Vim更新到较新的版本.

Note: I can't update Vim to a newer version.

推荐答案

您可以使用鼠标选择一些文本,然后键入:
"*y将选定的文本拖到剪贴板,然后您应该能够在另一个应用程序中使用剪贴板的内容.

You can select some text with the mouse and then type:
"*y to yank the selected text to the clipboard, then you should be able to use the clipboard content in another application.

如果要键入"*y麻烦,则可以将以下内容放入主机.vimrc
:noremap y "*y

if "*y is to cumbersome to type, you can put the following in host .vimrc
:noremap y "*y

这篇关于从在腻子中运行的vim复制内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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