title: How do I make macvim execute shell commands like it does in Destroy all Software?
body: <p>When Gary Bernhardt executes a shell command from <a href="https://www.destroyallsoftware.com" rel="nofollow noreferrer">Destroy All Software</a>, for example this:</p>
  
  <pre><code>:!ls
  </code></pre>
  
  <p>The command looks as if it had "spawn a new shell" - it takes the whole window, with its own theme. You can see it around 00:36 in the "One-minute demo video" of his homepage.</p>
  
  <p>When I do the same in my macvim, the result is not the same; the command runs in the "bottom of the screen", inside a "small buffer" of around 1/3rd of the screen size, and conserving the theme I use in vim. Inconveniently, it also prints escape codes literally, instead using color codes (this particular bit <a href="https://stackoverflow.com/questions/6126575/vim-unix-commands-printed-in-color">has been asked in Stack Overflow</a> before, but I want to know how Gary does his stuff).</p>
  
  <p>What I have tried:</p>
  
  <ol>
  <li>I have watched the 3 episodes Gary has about vim configuration: <a href="https://www.destroyallsoftware.com/screencasts/catalog/the-vimrc" rel="nofollow noreferrer">The .vimrc</a>, <a href="https://www.destroyallsoftware.com/screencasts/catalog/some-vim-tips" rel="nofollow noreferrer">Some Vim Tips</a> and <a href="https://www.destroyallsoftware.com/screencasts/catalog/file-navigation-in-vim" rel="nofollow noreferrer">File Navigation in Vim</a>. Sadly, none of them mention doing something special or installing a plugin relevant to the way the shell script is done.</li>
  <li>I have studied Gary's <a href="https://github.com/garybernhardt/dotfiles/blob/master/.vimrc" rel="nofollow noreferrer">.vimrc</a> and <a href="https://github.com/garybernhardt/dotfiles/tree/master/.vim/" rel="nofollow noreferrer">.vim folder</a>. If the relevant configuration option is there somewhere, I could not find it.</li>
  </ol>
  
  <p>Hence, my question: how do I get macvim to display shell commands as in DAS?</p>
  
  <p>Spec: I'm using MacVim, MacOsx 10.8.1, iterm2, zsh and ohmyzsh.</p>