<p dir="auto">I have a Vim workflow that I am having trouble recreating in Atom. Most of my tabs consist of a split, for a file and its tests:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/d39f891b97086db324b1fd6c2cc6f25dcc267e7aba205b085d40af5b4423cff1/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f31323637362f3839363037342f31393562336566382d666164392d313165322d386263622d3830653835616237616238652e706e67"><img src="https://camo.githubusercontent.com/d39f891b97086db324b1fd6c2cc6f25dcc267e7aba205b085d40af5b4423cff1/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f31323637362f3839363037342f31393562336566382d666164392d313165322d386263622d3830653835616237616238652e706e67" alt="srt_imports rb _github_talks_app_concerns_talk - vim" data-canonical-src="https://f.cloud.github.com/assets/12676/896074/195b3ef8-fad9-11e2-8bcb-80e85ab7ab8e.png" style="max-width: 100%;"></a></p>
<p dir="auto">Thus I can <code class="notranslate">{</code> and <code class="notranslate">}</code> my way through tabs and <code class="notranslate">[</code> and <code class="notranslate">]</code> my way through splits within them, and all was right with the world. My splits are about keeping related files together, not separate panes or editors.</p>
<p dir="auto">The modeling of <code class="notranslate">Pane</code> and <code class="notranslate">EditSession</code> doesn't really allow this right now. It's fairly easy to see a number of ways to do it, but I was stymied when I started to edit core stuff by things marked as internal. <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kevinsawicki/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kevinsawicki">@kevinsawicki</a> said to ignore that, so I'm going to slowly work on something that works for me. But he also said to make an issue, so here it is. I'm hoping that one of you core guys sees a super easy way to do it :)</p>
<p dir="auto">Halp ticket:</p>
<ul dir="auto">
<li>support/7866493ac7c811e394e434282a9ab820</li>
</ul>
<blockquote>
<p dir="auto">If an untitled document is dragged from one atom window to another, a "save/don't save" window pops up in the source window. In addition to that, the duplicates title is 'undefined' instead of 'untitled'.</p>
</blockquote>
<p dir="auto">I can't reproduce this exact error (strange, because the user who reported this is on 0.89.0, as am I), but I still see errors in the console when dragging an untitled tab to another window:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught TypeError: Arguments to path.join must be strings path.js:378
(anonymous function) path.js:378
exports.join path.js:376
module.exports.Project.resolve /Applications/Atom.app/Contents/Resources/app/src/project.js:162
module.exports.Workspace.open /Applications/Atom.app/Contents/Resources/app/src/workspace.js:121
module.exports.TabBarView.onDrop /Applications/Atom.app/Contents/Resources/app/node_modules/tabs/lib/tab-bar-view.js:362
(anonymous function) /Applications/Atom.app/Contents/Resources/app/node_modules/tabs/lib/tab-bar-view.js:3
jQuery.event.dispatch /Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4676
elemData.handle /Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4360"><pre class="notranslate"><code class="notranslate">Uncaught TypeError: Arguments to path.join must be strings path.js:378
(anonymous function) path.js:378
exports.join path.js:376
module.exports.Project.resolve /Applications/Atom.app/Contents/Resources/app/src/project.js:162
module.exports.Workspace.open /Applications/Atom.app/Contents/Resources/app/src/workspace.js:121
module.exports.TabBarView.onDrop /Applications/Atom.app/Contents/Resources/app/node_modules/tabs/lib/tab-bar-view.js:362
(anonymous function) /Applications/Atom.app/Contents/Resources/app/node_modules/tabs/lib/tab-bar-view.js:3
jQuery.event.dispatch /Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4676
elemData.handle /Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4360
</code></pre></div>