Created
October 17, 2021 07:05
-
-
Save xiaolai/a72f2d9f264f9d7b1e11d93ef8e0d372 to your computer and use it in GitHub Desktop.
VSCode enclose selection with unicode braces.md
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+shift+'", | |
"command": "editor.action.insertSnippet", | |
"args": {"snippet": "“$TM_SELECTED_TEXT$0”"}, | |
"when": "editorTextFocus&&editorHasSelection" | |
}, | |
{ | |
"key": "ctrl+'", | |
"command": "editor.action.insertSnippet", | |
"args": {"snippet": "‘$TM_SELECTED_TEXT$0’"}, | |
"when": "editorTextFocus&&editorHasSelection" | |
}, | |
{ | |
"key": "ctrl+shift+[Backslash]", | |
"command": "editor.action.insertSnippet", | |
"args": {"snippet": "【$TM_SELECTED_TEXT$0】"}, | |
"when": "editorTextFocus&&editorHasSelection" | |
}, | |
{ | |
"key": "ctrl+shift+,", | |
"command": "editor.action.insertSnippet", | |
"args": {"snippet": "《$TM_SELECTED_TEXT$0》"}, | |
"when": "editorTextFocus&&editorHasSelection" | |
}, | |
{ | |
"key": "ctrl+shift+[BracketRight]", | |
"command": "editor.action.insertSnippet", | |
"args": {"snippet": "「$TM_SELECTED_TEXT$0」"}, | |
"when": "editorTextFocus&&editorHasSelection" | |
}, | |
{ | |
"key": "ctrl+shift+[BracketLeft]", | |
"command": "editor.action.insertSnippet", | |
"args": {"snippet": "『$TM_SELECTED_TEXT$0』"}, | |
"when": "editorTextFocus&&editorHasSelection" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment