<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body><div style="font-family: sans-serif;"><div class="markdown" style="white-space: normal;">
<p dir="auto">Hello all,</p>
<p dir="auto">I’d like to be able to use bbedit to edit cover letters and patch comments when I’m sending multiple patches at once. I have set bbedit as my default git editor as follows:</p>
<pre style="margin-left: 15px; margin-right: 15px; padding: 5px; background-color: #F7F7F7; border-radius: 5px 5px 5px 5px; overflow-x: auto; max-width: 90vw;"><code style="margin: 0 0; border-radius: 3px; background-color: #F7F7F7; padding: 0px;">git config core.editor "bbedit --wait --resume"
</code></pre>
<p dir="auto">I also have send-email multiedit enabled:</p>
<pre style="margin-left: 15px; margin-right: 15px; padding: 5px; background-color: #F7F7F7; border-radius: 5px 5px 5px 5px; overflow-x: auto; max-width: 90vw;"><code style="margin: 0 0; border-radius: 3px; background-color: #F7F7F7; padding: 0px;">git config sendemail.multiedit true
</code></pre>
<p dir="auto">This works fine when sending a single patch. However, when sending multiple patches at once, bbedit doesn’t behave as I would expect. The way this works in vim is that all patches to be edited are opened simultaneously as buffers. You can switch through them with <code style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">:bn</code> and then exit when all your edits are made.</p>
<p dir="auto">The behavior I’d expect from bbedit is that all patches are opened in a single editor window with each file is listed in the sidebar. However, what actually happens is that the patches open one by one—the first patch opens, then after you close it the second patch opens, and so on.</p>
<p dir="auto">Does anyone know if it’s possible to get multiedit behavior working with git?</p>
<p dir="auto">Thanks,<br>
Logan</p>
<p dir="auto">--<br>
Logan Kirkland<br>
<a href="mailto:logan@logankirk.land" style="color: #3983C4;">logan@logankirk.land</a></p>

</div>
</div>
</body>

</html>