asfsadf asfsadf - 3 months ago 46
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.


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.