如何粘贴到终端?

我复制了一个 URL,比如 git://gitorious.org/openhatch/oh-mainline.git,我想用一个快捷键把它粘贴到终端上。

请不要说“右键单击并粘贴”

240107 次浏览

Gnome terminal defaults to ControlShiftv

OSX terminal defaults to Commandv. You can also use CommandControlv to paste the text in escaped form.

Windows 7 terminal defaults to CtrlShiftInsert

Mostly likely middle click your mouse.

Or try Shift + Insert.

It all depends on terminal used and X11-config for mouse.

Shift + Insert usually works throughout X11.

In Konsole (KDE terminal) is the same, Ctrl + Shift + V

same for Terminator

Ctrl + Shift + V

Look at your terminal key-bindings if any if that doesn't work

On windows 7:

Ctrl + Shift + Ins

works for me!

Like this article How to copy paste text and commands in the Linux terminal mentioned.
You can use middle mouse button to implement the functionality of paste. I tested it on terminal successfully.