|
|
To include the output from a system command, you would enter the
following:
:r !command
This inserts the output below the current line. Alternatively,
to replace the current line, type the following:
!!command
For instance, :r !date includes the date and time below the
current line; :$r !date puts the date and time at the
end of the file.
See also
``Running other programs from inside vi''.