How do you insert shell command output into the current buffer?
Answer
:r !date
Explanation
Use :r !command to read the output of a shell command into the buffer below the cursor. :r !date inserts the current date.
:r !date
Use :r !command to read the output of a shell command into the buffer below the cursor. :r !date inserts the current date.