title: Open a buffer on a new Tab on Vim
body: <p>I'm creating a Vim plugin that I need intercept when a new buffer is loaded. </p>
  
  <p>The basic idea consists in when I open a new buffer this new buffer must be screened on another tab, and the previous tab must keep the previous buffer loaded.</p>
  
  <p>Eg.: I have a buffer with the <code>foo.txt</code>, when I try to open <code>bar.txt</code> with <code>:e bar.txt</code> It will open in a new tab and the previous tab must stay with the <code>foo.txt</code>. <strong>I know that <code>:tabe bar.txt</code> does the job</strong>, but to my plugin I need the "<code>tabe</code> behavior" even when it's not used to open a file.</p>
  
  <p>Does anyone have any idea how to do this with Vimscript?</p>
  
  <p><em>The reason behind this: <a href="https://github.com/vim-ctrlspace/vim-ctrlspace/issues/177_" rel="nofollow">https://github.com/vim-ctrlspace/vim-ctrlspace/issues/177</em></a>.</p>