Last active
September 7, 2024 10:31
-
-
Save yuanqing/87bceacedde4dbd96fab to your computer and use it in GitHub Desktop.
Sublime Text: Wrap Selection in Backticks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "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 } | |
] | |
} |
where does this get pasted to? The sublime preferences file?
where does this get pasted to? The sublime preferences file?
Preferences > Key Bindings
Works great on ST3 here, thanks a bunch.
works on st3
thanks 💯
❤
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Awesome, thank you!