Mastering Bash and Terminal
Rather than temporarily suspend vim to use the terminal you can get vim to suspend and resume itself with the exclamation mark command. This has the benefit of not wreaking havoc on your vim session and allowing you to read data into vim by prefixing with r.<p>For example<p><pre><code>    :!ls
    </code></pre>
will execute ls and show you the result (press enter to return)<p><pre><code>    :r!ls
</code></pre>
will read the result of ls in for you<p>More usefully<p><pre><code>    :r!sed -n5,10p that/other/file
</code></pre>
will read lines 5-10 from that other file.<p>However you will most often want to<p><pre><code>    :!make
    :!up build
    :!git status
    :!git commit -am "Fixed #23"</code></pre>