Skip to content

Instantly share code, notes, and snippets.

@poritsky
Created December 6, 2012 04:05
Show Gist options
  • Save poritsky/4221696 to your computer and use it in GitHub Desktop.
Save poritsky/4221696 to your computer and use it in GitHub Desktop.
Sublime Text QuickRef User Preferences for MarkdownEditing
{
"settings":
{
"sort_alphabetically": false,
"show_user_commands": true,
"show_user_key_bindings": true,
"beautify_captions": false
},
"commands":
[
{ "keys": ["⌘+⌥+B"], "command": "insert_snippet", "args": {"contents": "${0:**$SELECTION**}"}, "caption": "MarkdownEditing: Bold" },
{ "keys": ["⌘+⌥+I"], "command": "insert_snippet", "args": {"contents": "${0:*$SELECTION*}"}, "caption": "MarkdownEditing: Italic" },
{ "keys": ["⌘+⇧+6"], "command": "magic_footnotes", "args": {}, "caption": "MarkdownEditing: Insert Footnote" },
{ "keys": ["⌘+⌥+R"], "command": "paste_as_reference", "args": {}, "caption": "MarkdownEditing: Clipboard as Reference Link" },
{ "keys": ["⌘+⌥+V"], "command": "paste_as_link", "args": {}, "caption": "MarkdownEditing: Clipboard as Inline Link" },
{ "keys": ["⌘+⌥+K"], "command": "insert_snippet", "args": {"contents": "[$SELECTION]($0)"}, "caption": "MarkdownEditing: Blank Inline Link" },
{ "keys": ["⌘+⇧+K"], "command": "insert_snippet", "args": {"contents": "![$SELECTION]($0)"}, "caption": "MarkdownEditing: Blank Inline Image" }
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment