Wraps selection into {_'$selection'}
*Installation:(
- save
latte-translator.sublime-snippet
intoPackages/User/
- add keybinding into
Key Bindings - User
.
Usage: select text and press ctrl+t
<snippet> | |
<content><![CDATA[{_'$SELECTION'}]]></content> | |
<scope>.latte</scope> | |
<description>Latte: translate selection</description> | |
</snippet> |
[ | |
{ "keys": ["ctrl+t"], "command": "insert_snippet", "args": { "name": "Packages/User/latte-translator.sublime-snippet" } } | |
] |