My Own Memory Hole

Sublime Text & LaTeX

Packages

Snippets et raccourcis clavier

  • guillemets français :
    <snippet>
    <content><![CDATA[
    \og ${1} \fg{}$0
    ]]></content>
    <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
    <tabTrigger>og</tabTrigger>
    <!-- Optional: Set a scope to limit where the snippet will trigger -->
    <scope>text.tex.latex</scope>
    </snippet>

    ou via le raccourci clavier Alt+" 

    { "keys": ["alt+\""], "command": "insert_snippet", "args": {"contents": "\\og ${1} \\fg{}$0"}, "context":
        [
            { "key": "selector", "operator": "equal", "operand": "text.tex.latex" }
        ]
    },