When I am working on projects, I encounter some situations that I need to read all content of a file insert the content to current buffer. Fortunately, vim read command can do it.
Content of /etc/issue, will be added to current buffer starting by current position.
Read command, can be used by its shortcut r. It means the following snippet has the same result as the previous one.
Read command if proceeds with exclamation mark !, it will consider next parameter as bash command. The bash command will be executed and the result will be inserted to current buffer.
Example use cases:
Remember this command. It will save your life.