<!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">You can put comments in the KeyBindings files using <code style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">/* comment */</code>. Here’s the beginning of my keybinding file (I think originally based on some MailMate template I found) and it works fine:</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;">{
        /*
         * |              Keybindings                 |
         * | Shortcut | Code    | Description         |
         * | -------- | ------- | ------------------- |
         * | a        | a       | -                   |
         * | ⌃ a      | ^a      | Control-a           |
         * | ⌥ a      | ~a      | Option-a            |
         * | ⇧ a      | A       | Shift-a             |
         * | ⌘ a      | @a      | Command-a           |
         * |          |         |                     |
         * | ⇧ F2     | $\UF705 | Shift-F2            |
         * | Num 2    | #2      | 2 on numeric keypad |
         *
         * →The $ should only be used to bind to the shift key (⇧) for ‘special keys’ (that don’t have a character equivalent)
         * →Note that the order of multiple modifiers is important. It must be in this order: #^~$@
         * →A list of funcion, arrow, etc keycodes can be found at <http://xahlee.info/kbd/osx_keybinding_key_syntax.html>
         *
         * MailMate selectors: <https://manual.mailmate-app.com/key_binding_selectors>
         *
         * Some selectors taken from <https://github.com/chauncey-garrett/mailmate/blob/master/KeyBindings/gmail-extended.plist>
         *
         */

        "."                    = "toggleReadState:"; // toggle read/unread state (i.e. the “//Seen” flag)
        ","                    = ( "markAsRead:", "nextMessage:" );

</code></pre>
<p dir="auto">--<br>
=> Jolin</p>

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

</html>