// Place your key bindings in this file to override the defaults
[
  {
    "key": "ctrl+b",
    "command": "latex-workshop.shortcut.textbf",
    "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/"
  },
  {
    "key": "ctrl+i",
    "command": "latex-workshop.shortcut.textit",
    "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/"
  },
  {
    "key": "ctrl+u",
    "command": "latex-workshop.shortcut.underline",
    "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/"
  },
  {
    "key": "ctrl+t",
    "command": "latex-workshop.shortcut.texttt",
    "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/"
  },
  {
    "key": "shift+4",
    "command": "editor.action.insertSnippet",
    "args": {
      "snippet": "$ $1 $$0"
    },
    "when": "editorTextFocus"
  },
  // original binding is ctrl+b
  {
    "key": "alt+b",
    "command": "workbench.action.toggleSidebarVisibility"
  }
]