Kracekumar
Kracekumar

Reputation: 20419

How to paste into a terminal?

I have copied a URL, such as git://gitorious.org/openhatch/oh-mainline.git. I want to paste this in the terminal using a keyboard shortcut.

Please don't say "right click and paste."

Upvotes: 100

Views: 281770

Answers (8)

DrJerryTAO
DrJerryTAO

Reputation: 279

I am running Windows 10 bootcamp on a 2015 MacBook Pro, which does not have an insert key. To paste copied characters into MSYS2 MinGW x64.exe, I use

fn + control + shift + return/enter to directly paste the last copied item.

command + v opens the clipboard as a list of copied items. I must click one of the items to paste it.

Like yupe mentioned, clicking the middle mouse button once also works.

Upvotes: 0

yupe
yupe

Reputation: 127

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.

Upvotes: 0

Jürgen Strobel
Jürgen Strobel

Reputation: 2248

Mostly likely middle click your mouse.

Or try Shift + Insert.

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

Upvotes: 13

Pierre Lacave
Pierre Lacave

Reputation: 2680

same for Terminator

Ctrl + Shift + V

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

Upvotes: 11

Aitor
Aitor

Reputation: 3429

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

Upvotes: 6

paolooo
paolooo

Reputation: 4153

On windows 7:

Ctrl + Shift + Ins

works for me!

Upvotes: 2

Marten
Marten

Reputation: 1156

Shift + Insert usually works throughout X11.

Upvotes: 25

bear24rw
bear24rw

Reputation: 4617

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

Upvotes: 138

Related Questions