Skip to content
Snippets Groups Projects
Unverified Commit 183e7310 authored by tecosaur's avatar tecosaur Committed by GitHub
Browse files

Add keybindings for text formatting snippets etc.

It would be good if anyone knew how to externalise the long list of keybindings...
parent f703fe5e
No related branches found
No related tags found
No related merge requests found
......@@ -283,7 +283,191 @@
{
"command": "workbench.view.extension.latex",
"key": "ctrl+alt+x"
}
},
{
"key": "ctrl+l ctrl+enter",
"command": "type",
"when": "editorTextFocus && editorLangId == 'latex'",
"args": {
"text": "\n\\item "
}
},
{
"key": "ctrl+b",
"when": "editorHasSelection && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "textbf"
}
},
{
"key": "ctrl+l ctrl+b",
"when": "editorTextFocus && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "textbf"
}
},
{
"key": "ctrl+i",
"when": "editorHasSelection && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "textit"
}
},
{
"key": "ctrl+l ctrl+i",
"when": "editorTextFocus && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "textit"
}
},
{
"key": "ctrl+u",
"when": "editorHasSelection && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "underline"
}
},
{
"key": "ctrl+l ctrl+u",
"when": "editorTextFocus && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "underline"
}
},
{
"key": "ctrl+e",
"when": "editorHasSelection && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "textem"
}
},
{
"key": "ctrl+l ctrl+e",
"when": "editorTextFocus && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "textem"
}
},
{
"key": "ctrl+l ctrl+r",
"when": "editorTextFocus && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "textrm"
}
},
{
"key": "ctrl+l ctrl+t",
"when": "editorTextFocus && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "texttt"
}
},
{
"key": "ctrl+l ctrl+s",
"when": "editorTextFocus && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "textsl"
}
},
{
"key": "ctrl+l ctrl+c",
"when": "editorTextFocus && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "textsc"
}
},
{
"key": "ctrl+l ctrl+n",
"when": "editorTextFocus && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "textnormal"
}
},
{
"key": "ctrl+l ctrl+6",
"when": "editorTextFocus && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "textsuperscript"
}
},
{
"key": "ctrl+l ctrl+oem_minus",
"when": "editorTextFocus && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "textsubscript"
}
},
{
"key": "ctrl+m ctrl+b",
"when": "editorTextFocus && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "mathbf"
}
},
{
"key": "ctrl+m ctrl+i",
"when": "editorTextFocus && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "mathit"
}
},
{
"key": "ctrl+m ctrl+r",
"when": "editorTextFocus && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "mathrm"
}
},
{
"key": "ctrl+m ctrl+t",
"when": "editorTextFocus && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "mathtt"
}
},
{
"key": "ctrl+m ctrl+s",
"when": "editorTextFocus && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "mathsf"
}
},
{
"key": "ctrl+m ctrl+shift+b",
"when": "editorTextFocus && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "mathbb"
}
},
{
"key": "ctrl+m ctrl+c",
"when": "editorTextFocus && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"name": "mathcal"
}
}
],
"configuration": {
"type": "object",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment