Skip to content

Instantly share code, notes, and snippets.

@truffaut
Last active December 28, 2015 03:49
Show Gist options
  • Save truffaut/7437878 to your computer and use it in GitHub Desktop.
Save truffaut/7437878 to your computer and use it in GitHub Desktop.
Add this snippet to your Sublime Text user keybindings settings to add the ability to wrap a selected word/phrase in backticks. Useful for revising the Learn App markdown files.
{ "keys": ["`"], "command": "insert_snippet", "args": {"contents": "`${0:$SELECTION}`"}, "context":
[
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": false, "match_all": true }
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment