In this article you are will learn how to paste code or text inside the Vim editor from an external file. The instructions below work on the popular Putty client for Windows. Look further down for more generic instructions, cluding how to copy code into Vim without changing its formatting (important for Python code). ☺ 1. Method1, Shift + Ins 2. Method, Shift + Right-Click & Paste2 3. third item Method 1. Shift + Ins First, please make sure to turn off the Num Lock in order your Ins button to work as expected copy the content of the text from the text file (Ctrl-C or right-click & copy) open the file you want to edit with the vim editor hit this key combination: Shift + Ins
ethod 2. Shift + Right-Click & Paste pietje copy the content of the text from the text file (Ctrl-C or right-click & copy)
open the file you want to edit with the vim editor
ype ‘i’ to enter the insert mode ( check at the bottom for — INSERT –)
hit this key combination: Shift + Right-click & choose the ‘Paste’ from the menu