Created
May 4, 2018 10:50
-
-
Save GillesC/58f031e44a51fa5e76dcd0daa6c2808e to your computer and use it in GitHub Desktop.
Keybindings and Snippets for adding snippets to VS Code in LaTex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"key":"ctrl+b", | |
"command":"editor.action.insertSnippet", | |
"args":{ | |
"name":"Insert bold text" | |
} | |
}, | |
{ | |
"key":"ctrl+i", | |
"command":"editor.action.insertSnippet", | |
"args":{ | |
"name":"Insert italic text" | |
} | |
}, | |
{ | |
"key":"ctrl+shift+i", | |
"command":"editor.action.insertSnippet", | |
"args":{ | |
"name":"itemize" | |
} | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Insert bold text":{ | |
"prefix":"bold", | |
"body":"\\textbf{${1:${TM_SELECTED_TEXT}}}$0", | |
"description":"Insert bold text" | |
}, | |
"Insert italic text":{ | |
"prefix":"italic", | |
"body":"\\textit{${1:${TM_SELECTED_TEXT}}}$0", | |
"description":"Insert italic text" | |
}, | |
"itemize":{ | |
"prefix":"itemize", | |
"body":[ | |
"\\begin{itemize}", | |
" \\item", | |
"\\end{itemize}" | |
], | |
"description":"itemize" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment