asfsadf asfsadf - 1 year ago 110
Linux Question

Quickest way to paste block of text into Vi Editor from external source

For instance, copying a conf section from a web page then pasting it into a .conf file that you have open in Vi.

Answer Source

Or if you use the system register, you can paste without being in insert mode:


This will paste the system's clipboard at the point of the cursor. No insert mode needed.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download