<div class="markdown">
<p dir="auto">If you store the attached file as <code>~/Library/Application Support/MailMate/Resources/KeyBindings/Kai.plist</code> and then select custom keybindings and enter "Kai, Gmail" into the text field, then you get <code>h/l</code> support amongst other things.</p>

<p dir="auto"><img src="cid:C39260B4-9DCE-4FAF-881E-5F8EA993918A@gmail.com" alt="" title="PastedImage.png"></p>

<p dir="auto">I've been inspired by both Gmail and vi/vim, but I didn't take them literally.  So besides <code>h/l</code> the other keys might not be exact.</p>

<ul>
<li><code>d</code> for delete is not something they do but it just made sense to me.</li>
<li><code>/</code> for entering the search field might be the default now, I'm not sure.</li>
<li><code>m</code> to mark as read or mark as unread made sense to me but I'm not sure if it's faithful</li>
<li>I've used multi-key bindings inspired by <code>g g</code> in vim for various related things:

<ul>
<li><code>g h</code> to go to the list of mailboxes</li>
<li><code>g g</code> to go to the list of emails in the current mailbox</li>
<li><code>g m</code> to go to the message view -- I never use this I now realize</li>
<li><code>g a</code> to go to the first message -- this is an Emacs analogy with Ctrl-A for beginning of line...</li>
<li><code>g z</code> to go to the last message -- in Emacs it would have been Ctrl-E for end of line, but if a is the first, then z must be the last</li>
<li>I don't think I've ever used <code>g /</code>, as plain <code>/</code> works</li>
</ul></li>
<li>Uppercase <code>Q, W, E</code> were alternatives for <code>g h, g g, g m</code> but I never use them</li>
<li>I couldn't find a good binding to show the list of "From" identities when composing a message, and I think not all bindings work, so I settled on Ctrl-O as a compromise, but it's hard for me to remember this one, I keep searching</li>
<li><code>q</code> to close the current window was an analogy from <code>less</code></li>
</ul>

<p dir="auto">It might be easier to see how to extend it if you have examples.</p>

<p dir="auto">Kai</p>

<p dir="auto">On 31 Mar 2015, at 23:42, Benny Kjær Nielsen wrote:</p>

<blockquote>
<p dir="auto">On 31 Mar 2015, at 20:37, Chris Jones wrote:</p>

<blockquote>
<p dir="auto">Being a long time Vi/Vim user I love the fact that I can use Vi keys (j & k) to navigate the message list pane. Is it also possible to use the Vi keys h & l to expand/collapse a thread as well as navigate up/down the thread?</p>
</blockquote>

<p dir="auto">You should be able to setup most things to whatever suits you best using <a href="http://manual.mailmate-app.com/custom_key_bindings">custom key bindings</a> and the available navigation related <a href="http://manual.mailmate-app.com/key_binding_selectors">selectors</a>.</p>

<p dir="auto">-- <br>
Benny</p>

<hr>

<p dir="auto">mailmate mailing list<br>
<a href="mailto:mailmate@lists.freron.com">mailmate@lists.freron.com</a><br>
<a href="http://lists.freron.com/listinfo/mailmate">http://lists.freron.com/listinfo/mailmate</a></p>
</blockquote>

</div>