Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to paste to vim when using putty

Tags:

vim

putty

paste

I am using putty to connect a remote host and editing via vim. I meet a trouble when I try to paste something to vim. That's, I copy something to clipboard in my local host and want to paste it to the vim in the remote host. How to do that?

ps: I am using putty! So, I open a vim window via putty. The very need is that I want to copy something in my local host and paste it to the vim editor opened by putty. That's all. Thanks!

like image 430
dj199008 Avatar asked Feb 15 '14 12:02

dj199008


People also ask

How do I paste into PuTTY in Vim?

To paste something from Windows clipboard into Vim, use Shift + Insert . To copy something from Vim into the Windows clipboard, hold Shift and select with Left Mouse .

How do you paste words into Vim?

Pasting in Vim Once you have selected text in Vim, no matter whether it is using the yank or the delete command, you can paste it in the wanted location. In Vim terminology, pasting is called putting and the function is utilized with the p command. Using this command pastes the selected text after the cursor.

How do I copy and paste in Vim mode?

Press the “Esc” key and tap “I” to open the “Insert” mode of the Vim editor. The “yank” or “y” command is used to copy the selected text.


Video Answer


1 Answers

Try with Ctrl + Shift + V or with middle click with a 3 button mouse

EDIT

What about? Shift + Ins

Source : https://superuser.com/questions/180043/paste-the-windows-clipboard-into-my-putty-session-using-only-the-keyboard

like image 106
markcial Avatar answered Sep 27 '22 20:09

markcial