Skip to content

Instantly share code, notes, and snippets.

@EdwinVanRooij
Created April 21, 2017 14:33
Show Gist options
  • Save EdwinVanRooij/56e3d7664d9fc7e1c7829a93cbc3d449 to your computer and use it in GitHub Desktop.
Save EdwinVanRooij/56e3d7664d9fc7e1c7829a93cbc3d449 to your computer and use it in GitHub Desktop.
// an example to create a new mapping `ctrl-y`
mapkey('<Ctrl-y>', 'Show me the money', function() {
Front.showPopup('a well-known phrase uttered by characters in the 1996 film Jerry Maguire (Escape to close).');
});
map('u', 'f');
// an example to remove mapkey `Ctrl-i`
unmap('<Ctrl-i>');
// click `Save` button to make above settings to take effect.
// set theme
settings.theme = `
.sk_theme {
background: #000;
color: #fff;
}
.sk_theme tbody {
color: #000;
}
.sk_theme input {
color: #317ef3;
}
.sk_theme .url {
color: #38f;
}
.sk_theme .annotation {
color: #38f;
}
.sk_theme .focused {
background: #aaa;
}`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment