Another quick example: read your software versions into a README file:
:r !ruby -v
:r !rails -v
…in order to write something like this without leaving the editor:
## Versions
* Ruby 2.4.1
* Rails 5.1.4
(Pausing Vim is easy too: ctrl-z
to put it to sleep, and fg
at the command line to revive it.)