Hotkeys Binding

Tag Wrapping

Go to "preferences -> key binding (user)"

 { "keys": ["alt+shift+m"], "command": "insert_snippet", "args": { "name": "Packages/mediawiki/math-tag.sublime-snippet" } }

Create `Packages/mediawiki/math-tag.sublime-snippet`:

    <description>Math Tag</description>

You don't need to create an XML file, and can pass arguments directly to snippets: [1]

  {"keys": ["alt+q"], "command": "insert_snippet", "args": {"contents": "<code>${0:$TM_SELECTED_TEXT}</code>"}},
  {"keys": ["alt+w"], "command": "insert_snippet", "args": {"contents": "<pre>${0:$TM_SELECTED_TEXT}</pre>"}}

Spell Checking

Add this to "settings -> user" to enable spell checking for English [2]

  "spell_check": true,
  "dictionary": "Packages/Language - English/en_US.dic"

Machine Learning Bookcamp: Learn machine learning by doing projects. Get 40% off with code "grigorevpc".

Share your opinion