Skip to content

Instantly share code, notes, and snippets.

@yuanqing
Last active September 7, 2024 10:31
Show Gist options
  • Save yuanqing/87bceacedde4dbd96fab to your computer and use it in GitHub Desktop.
Save yuanqing/87bceacedde4dbd96fab to your computer and use it in GitHub Desktop.
Sublime Text: Wrap Selection in Backticks
{ "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 }
]
}
@nk9
Copy link

nk9 commented Jun 22, 2020

Works great on ST3 here, thanks a bunch.

@ruolis
Copy link

ruolis commented Sep 15, 2020

works on st3
thanks 💯

@martixy
Copy link

martixy commented Sep 7, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment