Thursday, November 12, 2015

Paste stuff in system's clipboard to vi when using putty

Sometimes one wanna copy and paste something to a file opened in Vi from a webpage or a pdf file when using putty. This can be done as the following.
First, copy your stuff to the system's clipboard.
Then, go to putty and set the file to edit mode by pressing key i.
Finally, press Shift and Insert keys at the same time. Those in system's clipboard would be pasted to the file opened in Vi editor.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home