[MlMt] Vi Navigation - Thread
Kai Großjohann
kai.grossjohann at gmail.com
Wed Apr 1 04:52:34 EDT 2015
If you store the attached file as `~/Library/Application
Support/MailMate/Resources/KeyBindings/Kai.plist` and then select custom
keybindings and enter "Kai, Gmail" into the text field, then you get
`h/l` support amongst other things.
![](cid:C39260B4-9DCE-4FAF-881E-5F8EA993918A at gmail.com
"PastedImage.png")
I've been inspired by both Gmail and vi/vim, but I didn't take them
literally. So besides `h/l` the other keys might not be exact.
* `d` for delete is not something they do but it just made sense to me.
* `/` for entering the search field might be the default now, I'm not
sure.
* `m` to mark as read or mark as unread made sense to me but I'm not
sure if it's faithful
* I've used multi-key bindings inspired by `g g` in vim for various
related things:
* `g h` to go to the list of mailboxes
* `g g` to go to the list of emails in the current mailbox
* `g m` to go to the message view -- I never use this I now realize
* `g a` to go to the first message -- this is an Emacs analogy with
Ctrl-A for beginning of line...
* `g z` 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
* I don't think I've ever used `g /`, as plain `/` works
* Uppercase `Q, W, E` were alternatives for `g h, g g, g m` but I never
use them
* 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
* `q` to close the current window was an analogy from `less`
It might be easier to see how to extend it if you have examples.
Kai
On 31 Mar 2015, at 23:42, Benny Kjær Nielsen wrote:
> On 31 Mar 2015, at 20:37, Chris Jones wrote:
>
>> 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?
>
> You should be able to setup most things to whatever suits you best
> using [custom key
> bindings](http://manual.mailmate-app.com/custom_key_bindings) and the
> available navigation related
> [selectors](http://manual.mailmate-app.com/key_binding_selectors).
>
> --
> Benny
> _______________________________________________
> mailmate mailing list
> mailmate at lists.freron.com
> http://lists.freron.com/listinfo/mailmate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20150401/35ef856d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedImage.png
Type: image/png
Size: 10196 bytes
Desc: not available
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20150401/35ef856d/attachment.png>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Kai.plist
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20150401/35ef856d/attachment.ksh>
More information about the mailmate
mailing list