Skip to content

Instantly share code, notes, and snippets.

Avatar

Matthew Beale mixonic

View GitHub Profile
@jrhorn424
jrhorn424 / Fastmail-commented.plist
Last active Feb 20, 2016
Fastmail keybindings for MailMate
View Fastmail-commented.plist
#####################################################################################################
### WARNING: not kept up to date. I don't know the format well, and comments were causing issues. ###
### See next file for up-to-date mappings. ###
#####################################################################################################
{
// Keybindings to emulate Fastmail shortcuts in MailMate
// From: http://fastmail.wikia.com/wiki/KeyboardShortcuts
// Created by Jeffrey Horn <hello@jrhorn.me>
// See: http://manual.mailmate-app.com/key_binding_selectors
View demo.html
<!doctype html>
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="client/socket.io.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
var socket = new io.Socket(null, {rememberTransport: false, port: 8080});
socket.connect();
socket.addEvent('message', function(data) {
$('body').append('<p>' + $.map(data, function(e,i) {